Syntax
#include "slapi-plugin.h" int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all ); Parameters
#include "slapi-plugin.h" int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all );
The function has the following parameters:
cvar
notify_all
Returns. One of the following values:
A non-zero value if the thread (or threads) are successfully notified.
0 if an error occurs (for example, if the condition variable is NULL or if the mutex associated with the condition variable is not locked).
Description. This function notifies one or all threads that are waiting on the condition variable (see the slapi_wait_condvar() function). Before calling this function, the calling thread must lock the mutex associated with this condition variable.