Lines Matching refs:thread
109 * queue. It is the common first fields in a thread shuttle
111 * consist of both thread shuttle elements and links off of
114 * WARNING: These fields correspond to fields in the thread
120 void * wqe_type; /* Identifies link vs. thread */
130 * can be constructed so that any thread waiting on any number
132 * the thread only be linked on the single wait queue it blocked on.
134 * One use: ports in multiple portsets. Each thread is queued up
138 * with that port may wake up any thread from any of those portsets,
178 * a problem with a thread lock, it normally times out at the wait
216 #define wait_queue_assert_possible(thread) \
217 ((thread)->wait_queue == WAIT_QUEUE_NULL)
232 thread_t thread);
234 /* pull a thread from its wait queue */
237 thread_t thread,
247 /* wakeup one thread waiting for a particular event on locked queue */
254 /* return identity of a thread awakened for a particular <wait_queue,event> */
261 /* wakeup thread iff its still waiting for a particular event on locked queue */
265 thread_t thread,
402 /* wakeup the most appropriate thread waiting on <wait_queue,event64> pair */
414 /* wakeup a specified thread waiting iff waiting on <wait_queue,event64> pair */
418 thread_t thread,
442 /* wakeup the most appropriate thread waiting on <wait_queue,event> pair */
455 /* wakeup a specified thread waiting iff waiting on <wait_queue,event> pair */
459 thread_t thread,