Home
last modified time | relevance | path

Searched refs:THREAD_SET_STATE (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h635 #define THREAD_SET_STATE(tp, state, lp) \ macro
653 #define THREAD_RUN(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp)
659 #define THREAD_WAIT(tp, lp) THREAD_SET_STATE(tp, TS_WAIT, lp)
665 #define THREAD_SWAP(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp)
671 #define THREAD_ZOMB(tp) THREAD_SET_STATE(tp, TS_ZOMB, NULL)
679 THREAD_SET_STATE(tp, TS_ONPROC, &(cpu)->cpu_thread_lock)
688 THREAD_SET_STATE(tp, TS_SLEEP, lp); \
697 THREAD_SET_STATE(tp, TS_FREE, &(cpu)->cpu_thread_lock)
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c527 THREAD_SET_STATE(t, TS_STOPPED, &transition_lock); in thread_create()
547 THREAD_SET_STATE(t, TS_STOPPED, &stop_lock); in thread_create()