Lock a mutex.
#include "slapi-plugin.h" void slapi_lock_mutex( Slapi_Mutex *mutex );
This function takes the following parameters:
Mutex for thread synchronization
This function allows thread synchronization. Once a thread has locked a mutex using this function, other threads attempting to acquire the lock are blocked until the thread holding the mutex calls slapi_unlock_mutex().