osf1 man page for clear_wait

Query: clear_wait

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

clear_wait(9r)															    clear_wait(9r)

NAME
clear_wait - General: Clears the wait condition
SYNOPSIS
void clear_wait( thread_t thread, int result, boolean_t interrupt_only );
ARGUMENTS
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
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
None
SEE ALSO
Routines: assert_wait_mesg(9r), mpsleep(9r), thread_block(9r), thread_wakeup(9r), thread_wakeup_one(9r) clear_wait(9r)
Related Man Pages
pthread_cond_broadcast(3t) - hpux
pthread_cond_timedwait(3t) - hpux
pthread_cond_wait(3t) - hpux
assert_wait_mesg(9r) - osf1
sleep(9r) - osf1
Similar Topics in the Unix Linux Community
wait ${!}
how to wake up a thread that blocking at epoll_wait?
Breaking "while read" also breaks the parent process
Need to pass value to if condition
Use of Cartoonsin Cartoons for Geeks