17 #ifndef APR_GLOBAL_MUTEX_H
18 #define APR_GLOBAL_MUTEX_H
29 #if APR_PROC_MUTEX_IS_GLOBAL
44 #if !APR_PROC_MUTEX_IS_GLOBAL || defined(DOXYGEN)
175 #define apr_global_mutex_t apr_proc_mutex_t
176 #define apr_global_mutex_create apr_proc_mutex_create
177 #define apr_global_mutex_child_init apr_proc_mutex_child_init
178 #define apr_global_mutex_lock apr_proc_mutex_lock
179 #define apr_global_mutex_trylock apr_proc_mutex_trylock
180 #define apr_global_mutex_unlock apr_proc_mutex_unlock
181 #define apr_global_mutex_destroy apr_proc_mutex_destroy
182 #define apr_global_mutex_lockfile apr_proc_mutex_lockfile
183 #define apr_global_mutex_mech apr_proc_mutex_mech
184 #define apr_global_mutex_name apr_proc_mutex_name
185 #define apr_global_mutex_perms_set apr_proc_mutex_perms_set
186 #define apr_global_mutex_pool_get apr_proc_mutex_pool_get
APR Platform Definitions.
APR Process Locking Routines.
APR_PERMS_SET_IMPLEMENT(global_mutex)
const char * apr_global_mutex_lockfile(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_lock(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_unlock(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_destroy(apr_global_mutex_t *mutex)
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_POOL_DECLARE_ACCESSOR(global_mutex)
apr_status_t apr_global_mutex_create(apr_global_mutex_t **mutex, const char *fname, apr_lockmech_e mech, apr_pool_t *pool)
apr_lockmech_e apr_global_mutex_mech(apr_global_mutex_t *mutex)
apr_status_t apr_global_mutex_timedlock(apr_global_mutex_t *mutex, apr_interval_time_t timeout)
const char * apr_global_mutex_name(apr_global_mutex_t *mutex)
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_lockmech_e
Definition: apr_proc_mutex.h:46
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
#define APR_DECLARE(x)
Definition: macros.h:6
Definition: apr_arch_global_mutex.h:23
apr_thread_mutex_t * mutex
Definition: apr_arch_global_mutex.h:25