condvar_init

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.