Show Table of Contents
14.27. Slapi_Mutex
Represents a mutually exclusive lock in the server plug-in.
Syntax
#include "slapi-plugin.h" typedef struct slapi_mutex Slapi_Mutex;
Description
Slapi_Mutex is the data type for an opaque structure that represents a mutual exclusive lock (mutex) in the server plug-in.
The following table summarizes the front-end API functions that you can call to work with mutually exclusive locks.
| To ... | ... Call this function |
|---|---|
| Destroy a mutex. | slapi_destroy_mutex() |
| Lock a mutex. | slapi_lock_mutex() |
| Create a new mutex. | slapi_new_mutex() |
| Unlock a mutes. | slapi_unlock_mutex() |

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.