HelenOS sources

SLEEP_WOKE        454 kernel/generic/src/proc/scheduler.c 			assert(expected == SLEEP_WOKE);
SLEEP_WOKE        564 kernel/generic/src/proc/thread.c 	int state = atomic_exchange_explicit(&thread->sleep_state, SLEEP_WOKE,
HelenOS homepage, sources at GitHub