Searched refs:THREAD_SET_STATE (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/sys/ |
H A D | thread.h | 629 #define THREAD_SET_STATE(tp, state, lp) \ macro 647 #define THREAD_RUN(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp) 653 #define THREAD_WAIT(tp, lp) THREAD_SET_STATE(tp, TS_WAIT, lp) 659 #define THREAD_SWAP(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp) 665 #define THREAD_ZOMB(tp) THREAD_SET_STATE(tp, TS_ZOMB, NULL) 673 THREAD_SET_STATE(tp, TS_ONPROC, &(cpu)->cpu_thread_lock) 682 THREAD_SET_STATE(tp, TS_SLEEP, lp); \ 691 THREAD_SET_STATE(tp, TS_FREE, &(cpu)->cpu_thread_lock)
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | thread.c | 532 THREAD_SET_STATE(t, TS_STOPPED, &transition_lock); in thread_create() 552 THREAD_SET_STATE(t, TS_STOPPED, &stop_lock); in thread_create()
|