Changeset 05e2a7ad in mainline for generic/src/proc
- 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
- Location:
- generic/src/proc
- Files:
-
- 2 edited
-
scheduler.c (modified) (1 diff)
-
thread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/scheduler.c
r253f8590 r05e2a7ad 434 434 435 435 /* 436 * Through the 'THE' structure, we keep track of THREAD, TASK, CPU 436 * Through the 'THE' structure, we keep track of THREAD, TASK, CPU, VM 437 437 * and preemption counter. At this point THE could be coming either 438 438 * from THREAD's or CPU's stack. -
generic/src/proc/thread.c
r253f8590 r05e2a7ad 55 55 char *thread_states[] = {"Invalid", "Running", "Sleeping", "Ready", "Entering", "Exiting"}; /**< Thread states */ 56 56 57 spinlock_t threads_lock; 58 link_t threads_head; 57 spinlock_t threads_lock; /**< Lock protecting threads_head list. For locking rules, see declaration thereof. */ 58 link_t threads_head; /**< List of all threads. */ 59 59 60 60 static spinlock_t tidlock;
Note:
See TracChangeset
for help on using the changeset viewer.
