Query: thread_block
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
thread_block(9r) thread_block(9r)NAMEthread_block - General: Blocks (puts to sleep) the current kernel threadSYNOPSISvoid thread_block( void );ARGUMENTSNoneDESCRIPTIONThe thread_block routine blocks (puts to sleep) the current kernel thread and selects the next kernel thread to start (run). The routine schedules the next kernel thread onto this CPU. When a kernel thread is waiting for an event, it should block. In general, a kernel thread is blocked when the thread wait bit in the thread structure pointer associated with the current kernel thread is set. This bit signifies that this kernel thread is on the appropriate wait hash queue, waiting for a wakeup call. This allows the CPU to execute another kernel thread while this kernel thread is blocked.RETURN VALUESNoneSEE ALSORoutines: assert_wait_mesg(9r), current_thread(9r) thread_block(9r)
Related Man Pages |
---|
mi_switch(9) - freebsd |
mpsleep(9r) - osf1 |
sleep(9r) - osf1 |
thread_terminate(9r) - osf1 |
unix_master(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Nim Thread Blocked On "hostname" |
thread blocked while deleting a socket. |