Commit a0fe962b authored by Lionel Gauthier's avatar Lionel Gauthier

patches13/0006-fix-thread-cleanup.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7052 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 321d2e3f
......@@ -991,7 +991,7 @@ void itti_wait_tasks_end(void) {
ready_tasks = 0;
task_id = TASK_FIRST;
for (thread_id = THREAD_FIRST; thread_id < itti_desc.task_max; thread_id++) {
for (thread_id = THREAD_FIRST; thread_id < itti_desc.thread_max; thread_id++) {
/* Skip tasks which are not running */
if (itti_desc.threads[thread_id].task_state == TASK_STATE_READY) {
while (thread_id != TASK_GET_THREAD_ID(task_id))
......
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