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

condvar_init() Function

The condvar_init function is a critical-section function that initializes and returns a new condition variable associated with a specified critical-section variable. You can use the condition variable to prevent interference between two threads of execution.


CONDVAR condvar_init(CRITICAL id);

Return Values

A newly allocated condition variable (CONDVAR).


CRITICAL id is a critical-section variable.

See Also

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