Lines Matching refs:thread
110 * queue. It is the common first fields in a thread shuttle
112 * consist of both thread shuttle elements and links off of
115 * WARNING: These fields correspond to fields in the thread
121 void * wqe_type; /* Identifies link vs. thread */
131 * can be constructed so that any thread waiting on any number
133 * the thread only be linked on the single wait queue it blocked on.
135 * One use: ports in multiple portsets. Each thread is queued up
139 * with that port may wake up any thread from any of those portsets,
179 * a problem with a thread lock, it normally times out at the wait
217 #define wait_queue_assert_possible(thread) \
218 ((thread)->wait_queue == WAIT_QUEUE_NULL)
233 thread_t thread);
235 /* pull a thread from its wait queue */
238 thread_t thread,
248 /* wakeup one thread waiting for a particular event on locked queue */
255 /* return identity of a thread awakened for a particular <wait_queue,event> */
262 /* wakeup thread iff its still waiting for a particular event on locked queue */
266 thread_t thread,
403 /* wakeup the most appropriate thread waiting on <wait_queue,event64> pair */
415 /* wakeup a specified thread waiting iff waiting on <wait_queue,event64> pair */
419 thread_t thread,
443 /* wakeup the most appropriate thread waiting on <wait_queue,event> pair */
456 /* wakeup a specified thread waiting iff waiting on <wait_queue,event> pair */
460 thread_t thread,