Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

condvar_notify() Function

The condvar_notify function is a critical-section function that awakens any threads that are blocked on the given critical-section variable. Use this function to awaken threads of execution of a given critical section. First, use crit_enter to gain ownership of the critical section. Then use the returned critical-section variable to call condvar_notify to awaken the threads. Finally, when condvar_notify returns, call crit_exit to surrender ownership of the critical section.


void condvar_notify(CONDVAR cv);

Return Values



CONDVAR cv is a condition variable.

See Also

condvar_init() Function, condvar_terminate() Function, condvar_wait() Function, crit_init() Function, crit_enter() Function, crit_exit() Function, crit_terminate() Function