Changes in kernel/generic/src/proc/task.c [55b77d9:473d5d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r55b77d9 r473d5d2 155 155 mutex_initialize(&task->futexes_lock, MUTEX_PASSIVE); 156 156 157 list_initialize(&task->th reads);158 list_initialize(&task->sync_box es);157 list_initialize(&task->th_head); 158 list_initialize(&task->sync_box_head); 159 159 160 160 ipc_answerbox_init(&task->answerbox, task); … … 435 435 436 436 /* Current values of threads */ 437 list_foreach(task->threads, cur) { 437 link_t *cur; 438 for (cur = task->th_head.next; cur != &task->th_head; cur = cur->next) { 438 439 thread_t *thread = list_get_instance(cur, thread_t, th_link); 439 440 … … 467 468 */ 468 469 469 list_foreach(task->threads, cur) { 470 link_t *cur; 471 for (cur = task->th_head.next; cur != &task->th_head; cur = cur->next) { 470 472 thread_t *thread = list_get_instance(cur, thread_t, th_link); 471 473 bool sleeping = false;
Note:
See TracChangeset
for help on using the changeset viewer.