Changeset 05e2a7ad in mainline for generic/include/proc/thread.h
- Timestamp:
- 2005-12-07T13:32:31Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 839470f
- Parents:
- 253f8590
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/proc/thread.h
r253f8590 r05e2a7ad 65 65 link_t threads_link; /**< Link to the list of all threads. */ 66 66 67 /* items below are protected by lock */ 67 /** Lock protecting thread structure. 68 * 69 * Protects the whole thread structure except list links above. 70 * Must be acquired before T.lock for each T of type task_t. 71 * 72 */ 68 73 spinlock_t lock; 69 74 … … 110 115 }; 111 116 112 extern spinlock_t threads_lock; /**< Lock protecting threads_head list. */ 117 /** Thread list lock. 118 * 119 * This lock protects all link_t structures chained in threads_head. 120 * Must be acquired before T.lock for each T of type thread_t. 121 * 122 */ 123 extern spinlock_t threads_lock; 124 113 125 extern link_t threads_head; /**< List of all threads in the system. */ 114 126
Note:
See TracChangeset
for help on using the changeset viewer.