Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 556 → Rev 557

/kernel/trunk/generic/src/proc/scheduler.c
433,7 → 433,7
}
 
/*
* Through the 'THE' structure, we keep track of THREAD, TASK, CPU
* Through the 'THE' structure, we keep track of THREAD, TASK, CPU, VM
* and preemption counter. At this point THE could be coming either
* from THREAD's or CPU's stack.
*/
/kernel/trunk/generic/src/proc/thread.c
54,8 → 54,8
 
char *thread_states[] = {"Invalid", "Running", "Sleeping", "Ready", "Entering", "Exiting"}; /**< Thread states */
 
spinlock_t threads_lock;
link_t threads_head;
spinlock_t threads_lock; /**< Lock protecting threads_head list. For locking rules, see declaration thereof. */
link_t threads_head; /**< List of all threads. */
 
static spinlock_t tidlock;
__u32 last_tid = 0;