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

condvar_wait() Function

The condvar_wait function is a critical-section function that blocks on a given condition variable. Use this function to wait for a critical section, specified by a condition variable argument to become available. The calling thread is blocked until another thread calls condvar_notify with the same condition variable argument. The caller must have entered the critical section associated with this condition variable before calling condvar_wait.


void condvar_wait(CONDVAR cv);

Return Values



CONDVAR cv is a condition variable.

See Also

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