current_thread man page on OSF1

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

current_thread(9r)					    current_thread(9r)

NAME
       current_thread  - General: Is a pointer to the currently running kernel
       thread

SYNOPSIS
       void current_thread(
	       void );

ARGUMENTS
       None

DESCRIPTION
       The current_thread routine is a pointer to the currently running kernel
       thread.	Typically,  kernel  modules  use this routine to reference the
       wait_result member of the thread structure pointer associated with  the
       currently  running  kernel  thread. A module calls current_thread after
       calls to assert_wait_mesg and thread_block. If the module needs to  set
       a    timeout,   then   it   calls   current_thread   after   calls   to
       assert_wait_mesg, thread_set_timeout, and thread_block.

       The kernel can set the wait_result member to one of the following  val‐
       ues:  The  result of the assert wait is a normal wakeup.	 The specified
       timeout has  expired.   The  wait  condition  was  interrupted  by  the
       clear_wait  routine.  The result of the assert wait is that the current
       kernel thread should terminate.	The current kernel  thread  should  be
       restarted.

RETURN VALUES
       None

SEE ALSO
       Routines:   assert_wait_mesg(9r),   clear_wait(9r),   thread_block(9r),
       thread_set_timeout(9r)

       Data Structures: thread(9s)

							    current_thread(9r)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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