patches13/0006-fix-thread-cleanup.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7052 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2015-04-09 09:11:15 +00:00
parent 321d2e3f03
commit a0fe962bba
+1 -1
View File
@@ -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))