Commit 67eb729f authored by Raymond Knopp's avatar Raymond Knopp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5826 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f3956ed8
...@@ -144,13 +144,13 @@ typedef struct thread_desc_s { ...@@ -144,13 +144,13 @@ typedef struct thread_desc_s {
int epoll_nb_events; int epoll_nb_events;
#ifdef RTAI //#ifdef RTAI
/* Flag to mark real time thread */ /* Flag to mark real time thread */
unsigned real_time; unsigned real_time;
/* Counter to indicate from RTAI threads that messages are pending for the thread */ /* Counter to indicate from RTAI threads that messages are pending for the thread */
unsigned messages_pending; unsigned messages_pending;
#endif //#endif
} thread_desc_t; } thread_desc_t;
typedef struct task_desc_s { typedef struct task_desc_s {
...@@ -735,7 +735,7 @@ int itti_create_task(task_id_t task_id, void *(*start_routine)(void *), void *ar ...@@ -735,7 +735,7 @@ int itti_create_task(task_id_t task_id, void *(*start_routine)(void *), void *ar
return 0; return 0;
} }
#ifdef RTAI //#ifdef RTAI
void itti_set_task_real_time(task_id_t task_id) void itti_set_task_real_time(task_id_t task_id)
{ {
thread_id_t thread_id = TASK_GET_THREAD_ID(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) ...@@ -744,7 +744,7 @@ void itti_set_task_real_time(task_id_t task_id)
itti_desc.threads[thread_id].real_time = TRUE; itti_desc.threads[thread_id].real_time = TRUE;
} }
#endif //#endif
void itti_wait_ready(int wait_tasks) void itti_wait_ready(int wait_tasks)
{ {
......
...@@ -163,12 +163,12 @@ int itti_create_task(task_id_t task_id, ...@@ -163,12 +163,12 @@ int itti_create_task(task_id_t task_id,
void *(*start_routine) (void *), void *(*start_routine) (void *),
void *args_p); void *args_p);
#ifdef RTAI //#ifdef RTAI
/** \brief Mark the task as a real time task /** \brief Mark the task as a real time task
* \param task_id task to mark as real time * \param task_id task to mark as real time
**/ **/
void itti_set_task_real_time(task_id_t task_id); 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 /** \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 * \param wait_tasks non 0 to make new created tasks to wait, 0 to let created tasks to run
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment