17 #ifndef APR_GLOBAL_MUTEX_H
18 #define APR_GLOBAL_MUTEX_H
29 #if APR_PROC_MUTEX_IS_GLOBAL
43 #if !APR_PROC_MUTEX_IS_GLOBAL || defined(DOXYGEN)
150 #define apr_global_mutex_t apr_proc_mutex_t
151 #define apr_global_mutex_create apr_proc_mutex_create
152 #define apr_global_mutex_child_init apr_proc_mutex_child_init
153 #define apr_global_mutex_lock apr_proc_mutex_lock
154 #define apr_global_mutex_trylock apr_proc_mutex_trylock
155 #define apr_global_mutex_unlock apr_proc_mutex_unlock
156 #define apr_global_mutex_destroy apr_proc_mutex_destroy
157 #define apr_global_mutex_lockfile apr_proc_mutex_lockfile
158 #define apr_global_mutex_name apr_proc_mutex_name
159 #define apr_global_mutex_pool_get apr_proc_mutex_pool_get
apr_status_t apr_global_mutex_lock(apr_global_mutex_t *mutex)
struct apr_global_mutex_t apr_global_mutex_t
Definition: apr_global_mutex.h:46
apr_status_t apr_global_mutex_create(apr_global_mutex_t **mutex, const char *fname, apr_lockmech_e mech, apr_pool_t *pool)
apr_status_t apr_global_mutex_destroy(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_unlock(apr_global_mutex_t *mutex)
apr_lockmech_e
Definition: apr_proc_mutex.h:44
APR Platform Definitions.
apr_status_t apr_global_mutex_trylock(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_child_init(apr_global_mutex_t **mutex, const char *fname, apr_pool_t *pool)
APR Process Locking Routines.
const char * apr_global_mutex_lockfile(apr_global_mutex_t *mutex)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
const char * apr_global_mutex_name(apr_global_mutex_t *mutex)
#define APR_POOL_DECLARE_ACCESSOR(type)
Definition: apr_pools.h:81