Changeset 2d3ddad in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2010-06-08T21:08:44Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f80c77
- Parents:
- c992538a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
rc992538a r2d3ddad 371 371 * 372 372 * Detach thread from all queues, cpus etc. and destroy it. 373 * Assume thread->lock is held!374 373 * 375 374 * @param thread Thread to be destroyed. … … 380 379 void thread_destroy(thread_t *thread, bool irq_res) 381 380 { 381 ASSERT(irq_spinlock_locked(&thread->lock)); 382 382 ASSERT((thread->state == Exiting) || (thread->state == Lingering)); 383 383 ASSERT(thread->task);
Note:
See TracChangeset
for help on using the changeset viewer.