Changeset 1d432f9 in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2010-05-31T22:33:44Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 179d052
- Parents:
- 3a2b636
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
r3a2b636 r1d432f9 683 683 bool thread_exists(thread_t *thread) 684 684 { 685 ASSERT(interrupts_disabled()); 686 ASSERT(irq_spinlock_locked(&threads_lock)); 687 685 688 avltree_node_t *node = 686 689 avltree_search(&threads_tree, (avltree_key_t) ((uintptr_t) thread)); … … 700 703 { 701 704 uint64_t time = get_cycle(); 705 706 ASSERT(interrupts_disabled()); 707 ASSERT(irq_spinlock_locked(&THREAD->lock)); 702 708 703 709 if (user) … … 735 741 thread_t *thread_find_by_id(thread_id_t thread_id) 736 742 { 743 ASSERT(interrupts_disabled()); 744 ASSERT(irq_spinlock_locked(&threads_lock)); 745 737 746 thread_iterator_t iterator; 738 747
Note:
See TracChangeset
for help on using the changeset viewer.