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

  man pages->Tru64 Unix man pages -> clear_wait (9r)              
Title
Content
Arch
Section
 

clear_wait(9r)

Contents


NAME    [Toc]    [Back]

       clear_wait - General: Clears the wait condition

SYNOPSIS    [Toc]    [Back]

       void clear_wait(
               thread_t thread,
               int result,
               boolean_t interrupt_only );

ARGUMENTS    [Toc]    [Back]

       Specifies a pointer to the thread Specifies the outcome of
       the wait. You can pass one of the following  values:  This
       is  a  normal  wakeup.   The  timeout period expired.  The
       clear_wait routine interrupted the  wakeup.   Specifies  a
       Boolean  value  that  indicates how the clear_wait routine
       clears the wait condition. You can pass one of the following
  values:  Clears the wait condition only if the kernel
       thread is waiting in an interruptible state.   Clears  the
       wait condition under any circumstances.

DESCRIPTION    [Toc]    [Back]

       The  clear_wait  routine clears the wait condition for the
       specified kernel thread and starts  executing  the  kernel
       thread, if appropriate. If the kernel thread is interruptible
 and is still waiting for the event,  clear_wait  sets
       the kernel thread state to TH_RUN and places it on the run
       queue.

RETURN VALUES    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Routines:        assert_wait_mesg(9r),        mpsleep(9r),
       thread_block(9r), thread_wakeup(9r), thread_wakeup_one(9r)



                                                   clear_wait(9r)
[ Back ]
 Similar pages
Name OS Title
pthread_cond_wait FreeBSD wait on a condition variable
pthread_cond_wait OpenBSD wait on a condition variable
pthread_cond_wait Tru64 Causes a thread to wait for the specified condition variable to be signaled or broadcasted
pthread_cond_timedwait OpenBSD wait on a condition variable for a specific amount of time
tis_cond_wait Tru64 Causes a thread to wait for the specified condition variable to be signaled or broadcast
tis_cond_timedwait Tru64 Causes a thread to wait for the specified condition variable to be signaled or broadcast, such that ...
pthread_cond_timedwait FreeBSD wait on a condition variable for a specific amount of time
DXmSvnClearSelections Tru64 Clears all selections.
clri Tru64 Clears i-nodes
clearenv Tru64 Clears the process environment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service