Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
67eb729f
Commit
67eb729f
authored
Oct 01, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5826
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
f3956ed8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
common/utils/itti/intertask_interface.c
common/utils/itti/intertask_interface.c
+4
-4
common/utils/itti/intertask_interface.h
common/utils/itti/intertask_interface.h
+2
-2
No files found.
common/utils/itti/intertask_interface.c
View file @
67eb729f
...
...
@@ -144,13 +144,13 @@ typedef struct thread_desc_s {
int
epoll_nb_events
;
#ifdef RTAI
//
#ifdef RTAI
/* Flag to mark real time thread */
unsigned
real_time
;
/* Counter to indicate from RTAI threads that messages are pending for the thread */
unsigned
messages_pending
;
#endif
//
#endif
}
thread_desc_t
;
typedef
struct
task_desc_s
{
...
...
@@ -735,7 +735,7 @@ int itti_create_task(task_id_t task_id, void *(*start_routine)(void *), void *ar
return
0
;
}
#ifdef RTAI
//#ifdef RTAI
void
itti_set_task_real_time
(
task_id_t
task_id
)
{
thread_id_t
thread_id
=
TASK_GET_THREAD_ID
(
task_id
);
...
...
@@ -744,7 +744,7 @@ void itti_set_task_real_time(task_id_t task_id)
itti_desc
.
threads
[
thread_id
].
real_time
=
TRUE
;
}
#endif
//
#endif
void
itti_wait_ready
(
int
wait_tasks
)
{
...
...
common/utils/itti/intertask_interface.h
View file @
67eb729f
...
...
@@ -163,12 +163,12 @@ int itti_create_task(task_id_t task_id,
void
*
(
*
start_routine
)
(
void
*
),
void
*
args_p
);
#ifdef RTAI
//
#ifdef RTAI
/** \brief Mark the task as a real time task
* \param task_id task to mark as real time
**/
void
itti_set_task_real_time
(
task_id_t
task_id
);
#endif
//
#endif
/** \brief Indicates to ITTI if newly created tasks should wait for all tasks to be ready
* \param wait_tasks non 0 to make new created tasks to wait, 0 to let created tasks to run
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment