Commit 0fdd3f09 authored by winckel's avatar winckel

Fixed a build issue with TRUE and FALSE for mmem builds.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4552 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 499ec075
...@@ -771,7 +771,7 @@ int itti_init(task_id_t task_max, thread_id_t thread_max, MessagesIds messages_i ...@@ -771,7 +771,7 @@ int itti_init(task_id_t task_max, thread_id_t thread_max, MessagesIds messages_i
#endif #endif
} }
itti_desc.running = TRUE; itti_desc.running = 1;
#ifdef RTAI #ifdef RTAI
/* Start RT relay thread */ /* Start RT relay thread */
DevAssert(pthread_create (&itti_desc.rt_relay_thread, NULL, itti_rt_relay_thread, NULL) >= 0); DevAssert(pthread_create (&itti_desc.rt_relay_thread, NULL, itti_rt_relay_thread, NULL) >= 0);
...@@ -832,7 +832,7 @@ void itti_wait_tasks_end(void) { ...@@ -832,7 +832,7 @@ void itti_wait_tasks_end(void) {
} }
} while ((ready_tasks > 0) && (retries--)); } while ((ready_tasks > 0) && (retries--));
itti_desc.running = FALSE; itti_desc.running = 0;
if (ready_tasks > 0) { if (ready_tasks > 0) {
ITTI_DEBUG("Some threads are still running, force exit\n"); ITTI_DEBUG("Some threads are still running, force exit\n");
......
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