Searched refs:THREAD_SET_STATE (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/sys/ |
H A D | thread.h | 614 #define THREAD_SET_STATE(tp, state, lp) \ macro 632 #define THREAD_RUN(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp) 638 #define THREAD_WAIT(tp, lp) THREAD_SET_STATE(tp, TS_WAIT, lp) 644 #define THREAD_SWAP(tp, lp) THREAD_SET_STATE(tp, TS_RUN, lp) 650 #define THREAD_ZOMB(tp) THREAD_SET_STATE(tp, TS_ZOMB, NULL) 658 THREAD_SET_STATE(tp, TS_ONPROC, &(cpu)->cpu_thread_lock) 667 THREAD_SET_STATE(tp, TS_SLEEP, lp); \ 676 THREAD_SET_STATE(tp, TS_FREE, &(cpu)->cpu_thread_lock)
|
/titanic_50/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()
|