*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> thread (9s)              
Title
Content
Arch
Section
 

thread(9s)

Contents


NAME    [Toc]    [Back]

       thread - General: Contains kernel threads-related information

SYNOPSIS    [Toc]    [Back]

       ----------------------------
       Member Name   Data Type
       ----------------------------
       wait_result   kern_return_t
       ----------------------------

MEMBERS    [Toc]    [Back]

       Specifies the outcome of the wait. The kernel can set this
       member  to  one  of the following values: THREAD_AWAKENED,
       THREAD_INTERRUPTED, THREAD_TIMED_OUT, THREAD_SHOULD_TERMINATE,
 and THREAD_RESTART.

DESCRIPTION    [Toc]    [Back]

       The  thread data structure contains kernel threads-related
       information. Kernel modules typically use the  wait_result
       member  (with the current_thread routine) to check for the
       result  of  the  wait.  The  values  associated  with  the
       wait_result member have the following meanings: The result
       of the assert wait is a normal wakeup.  The wait condition
       was  interrupted by the clear_wait routine.  The specified
       timeout has expired.  The result of  the  assert  wait  is
       that the current kernel thread should terminate.  The current
 kernel thread should be restarted.

NOTES    [Toc]    [Back]

       The header file <thread.h> shows a typedef statement  that
       assigns  the  alternate name thread_t for a pointer to the
       thread data structure. Many of the kernel  threads-related
       routines  operate  on these pointers to thread data structures.


       The thread data structure is  an  opaque  data  structure;
       that  is,  all  of  its associated members (except for the
       wait_result member) are referenced and manipulated by  the
       operating system and not by the user of kernel threads.

FILES    [Toc]    [Back]

SEE ALSO
       Routines:        clear_wait(9r),       current_thread(9r),
       thread_block(9r),                  thread_set_timeout(9r),
       thread_wakeup(9r), thread_wakeup_one(9r)



                                                       thread(9s)
[ Back ]
 Similar pages
Name OS Title
select_dequeue_all Tru64 General: Removes all kernel threads waiting for an event
thread_wakeup Tru64 General: Wakes up all kernel threads waiting for the specified event
cfg_subsys_attr_t Tru64 General: Contains attribute information for kernel modules
cfg_attr_t Tru64 General: Contains information for managing the loading and unloading of kernel modules
kthread NetBSD kernel threads
kthread_suspend_check FreeBSD kernel threads
kthread_resume FreeBSD kernel threads
kthread_exit FreeBSD kernel threads
kthread_create FreeBSD kernel threads
kproc_shutdown FreeBSD kernel threads
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service