Changeset df58e44 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2011-01-27T16:36:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update
- Children:
- 5b7a107
- Parents:
- 0843f02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r0843f02 rdf58e44 449 449 static void task_kill_internal(task_t *task) 450 450 { 451 irq_spinlock_lock(&task->lock, false); 452 irq_spinlock_lock(&threads_lock, false); 453 454 /* 455 * Interrupt all threads. 456 */ 457 451 458 link_t *cur; 452 453 /*454 * Interrupt all threads.455 */456 irq_spinlock_lock(&task->lock, false);457 459 for (cur = task->th_head.next; cur != &task->th_head; cur = cur->next) { 458 460 thread_t *thread = list_get_instance(cur, thread_t, th_link); … … 471 473 } 472 474 475 irq_spinlock_unlock(&threads_lock, false); 473 476 irq_spinlock_unlock(&task->lock, false); 474 477 }
Note:
See TracChangeset
for help on using the changeset viewer.