HelenOS sources
sleep_state 81 kernel/generic/include/proc/thread.h atomic_int sleep_state;
sleep_state 450 kernel/generic/src/proc/scheduler.c if (!atomic_compare_exchange_strong_explicit(&thread->sleep_state,
sleep_state 278 kernel/generic/src/proc/thread.c atomic_init(&thread->sleep_state, SLEEP_INITIAL);
sleep_state 494 kernel/generic/src/proc/thread.c (void) atomic_exchange_explicit(&THREAD->sleep_state, SLEEP_INITIAL,
sleep_state 541 kernel/generic/src/proc/thread.c if (atomic_load_explicit(&THREAD->sleep_state, memory_order_acquire) !=
sleep_state 564 kernel/generic/src/proc/thread.c int state = atomic_exchange_explicit(&thread->sleep_state, SLEEP_WOKE,
HelenOS homepage, sources at GitHub