glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

locking.h File Reference
#include <pthread.h>
Include dependency graph for locking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOCK_INIT(x)   pthread_mutex_init(x, 0)
 
#define LOCK(x)   pthread_mutex_lock(x)
 
#define TRY_LOCK(x)   pthread_mutex_trylock(x)
 
#define UNLOCK(x)   pthread_mutex_unlock(x)
 
#define LOCK_DESTROY(x)   pthread_mutex_destroy(x)
 

Typedefs

typedef pthread_mutex_t gf_lock_t
 

Macro Definition Documentation

◆ LOCK

#define LOCK (   x)    pthread_mutex_lock(x)

Definition at line 77 of file locking.h.

◆ LOCK_DESTROY

#define LOCK_DESTROY (   x)    pthread_mutex_destroy(x)

Definition at line 80 of file locking.h.

◆ LOCK_INIT

#define LOCK_INIT (   x)    pthread_mutex_init(x, 0)

Definition at line 76 of file locking.h.

◆ TRY_LOCK

#define TRY_LOCK (   x)    pthread_mutex_trylock(x)

Definition at line 78 of file locking.h.

◆ UNLOCK

#define UNLOCK (   x)    pthread_mutex_unlock(x)

Definition at line 79 of file locking.h.

Typedef Documentation

◆ gf_lock_t

typedef pthread_mutex_t gf_lock_t

Definition at line 74 of file locking.h.