45.3. slapi_lock_mutex()
This function locks the mutex specified by the Slapi_Mutex structure. After this function returns, any other thread that attempts to acquire the same lock is blocked until the holder of the lock releases the lock. Acquiring the lock is not an interruptible operation, nor is there any time-out mechanism.
#include "slapi-plugin.h" void slapi_lock_mutex( Slapi_Mutex *mutex );
This function takes the following parameters:
|
mutex
| Pointer to a Slapi_Mutex structure representing the mutex that you want to lock. |

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.