thread_set_timeout man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

thread_set_timeout(9r)					thread_set_timeout(9r)

NAME
       thread_set_timeout  -  General:	Sets  a	 timer	for the current kernel
       thread

SYNOPSIS
       void thread_set_timeout(
	       int timeout_interval );

ARGUMENTS
       Specfies the amount of time to wait for an event. The time is  used  in
       conjunction with the assert_wait routine.

DESCRIPTION
       The  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_time‐
       out 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 VALUES
       None

SEE ALSO
       Routines: assert_wait_mesg(9r), current_thread(9r), thread_block(9r)

							thread_set_timeout(9r)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net