Notify a change in a condition variable.
#include "slapi-plugin.h" int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all );
This function takes the following parameter:
Condition variable changed
NULL means notify only the next thread waiting for notification. Otherwise, all threads are notified.
This function enables thread synchronization using a wait/notify mechanism.
This function returns 1 if successful. Otherwise, it returns NULL.
Call slapi_wait_condvar() to wait on a change to the condition variable.