|
slapi_new_mutex() |
Creates a new mutex and returns a pointer to the corresponding Slapi_Mutex structure. #include "slapi-plugin.h" Returns. A pointer to the new Slapi_Mutex structure, or NULL if memory cannot be allocated. Description. This function creates a new mutex and returns a pointer to the Slapi_Mutex structure. You can lock this mutex by calling the slapi_lock_mutex() function and unlock the mutex by calling the slapi_unlock_mutex() function. When you are done working with the mutex, you can free the Slapi_Mutex structure by calling the slapi_destroy_mutex() function.
|
![]() |