Changes in kernel/generic/src/proc/task.c [df58e44:1e9f8ab] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
rdf58e44 r1e9f8ab 449 449 static void task_kill_internal(task_t *task) 450 450 { 451 link_t *cur; 452 453 /* 454 * Interrupt all threads. 455 */ 451 456 irq_spinlock_lock(&task->lock, false); 452 irq_spinlock_lock(&threads_lock, false);453 454 /*455 * Interrupt all threads.456 */457 458 link_t *cur;459 457 for (cur = task->th_head.next; cur != &task->th_head; cur = cur->next) { 460 458 thread_t *thread = list_get_instance(cur, thread_t, th_link); … … 473 471 } 474 472 475 irq_spinlock_unlock(&threads_lock, false);476 473 irq_spinlock_unlock(&task->lock, false); 477 474 }
Note:
See TracChangeset
for help on using the changeset viewer.