45.4. slapi_new_condvar()
This function creates a new condition variable and returns a pointer to the Slapi_CondVar structure. You can create the Slapi_Mutex structure by calling the slapi_new_mutex() function. See Slapi_CondVar
#include "slapi-plugin.h" Slapi_CondVar *slapi_new_condvar( Slapi_Mutex *mutex );
This function takes the following parameters:
|
mutex
| Pointer to a Slapi_Mutex structure representing the mutex that you want used to protect this condition variable. |
This function returns one of the following values:
- A pointer to the new Slapi_CondVar structure.
NULLif memory cannot be allocated.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.