Call this function to create the condition variable and slapi_destroy_condvar() to free the condition variable.