diff --git a/common/utils/itti/intertask_interface.c b/common/utils/itti/intertask_interface.c index 34e95f1529..1ba6346b89 100644 --- a/common/utils/itti/intertask_interface.c +++ b/common/utils/itti/intertask_interface.c @@ -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) { diff --git a/common/utils/itti/intertask_interface.h b/common/utils/itti/intertask_interface.h index 515c0ea5c4..ccfc7e53cc 100644 --- a/common/utils/itti/intertask_interface.h +++ b/common/utils/itti/intertask_interface.h @@ -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