Query: thread_set_timeout
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
thread_set_timeout(9r) thread_set_timeout(9r)NAMEthread_set_timeout - General: Sets a timer for the current kernel threadSYNOPSISvoid thread_set_timeout( int timeout_interval );ARGUMENTSSpecfies the amount of time to wait for an event. The time is used in conjunction with the assert_wait routine.DESCRIPTIONThe thread_set_timeout routine must be called as follows: Lock the resource. Call assert_wait_mesg to assert that the current kernel thread is about to block. Unlock the resource. Call thread_set_timeout to set the time of delay for the current kernel thread. Call thread_block to block (put to sleep) the current kernel thread. The time you specify to wait for the event is automatically canceled when the kernel thread awakes.RETURN VALUESNoneSEE ALSORoutines: assert_wait_mesg(9r), current_thread(9r), thread_block(9r) thread_set_timeout(9r)
Related Man Pages |
---|
mi_switch(9) - freebsd |
assert_wait_mesg(9r) - osf1 |
current_thread(9r) - osf1 |
kernel_isrthread(9r) - osf1 |
thread_terminate(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
PHP Write Man Pages to MySQL DB |