Allocate a condition variable.
#include "slapi-plugin.h" Slapi_CondVar *slapi_new_condvar( Slapi_Mutex *mutex );
This function takes the following parameter:
Mutex used for the lock
This function enables thread synchronization using a wait/notify mechanism.
This function returns a pointer to the new condition variable if successful. Otherwise, it returns NULL.
Call this function to create the condition variable and slapi_destroy_condvar() to free the condition variable.