GME
13
|
APR-Util transparent any lock flavor wrapper. More...
Go to the source code of this file.
Classes | |
struct | apr_anylock_t |
union | apr_anylock_t::apr_anylock_u_t |
Defines | |
#define | APR_ANYLOCK_LOCK(lck) |
#define | APR_ANYLOCK_TRYLOCK(lck) |
#define | APR_ANYLOCK_UNLOCK(lck) |
Typedefs | |
typedef struct apr_anylock_t | apr_anylock_t |
APR-Util transparent any lock flavor wrapper.
Definition in file apr_anylock.h.
#define APR_ANYLOCK_LOCK | ( | lck | ) |
(((lck)->type == apr_anylock_none) \ ? APR_SUCCESS \ : (((lck)->type == apr_anylock_procmutex) \ ? apr_proc_mutex_lock((lck)->lock.pm) \ : APR_EINVAL))
Definition at line 66 of file apr_anylock.h.
#define APR_ANYLOCK_TRYLOCK | ( | lck | ) |
(((lck)->type == apr_anylock_none) \ ? APR_SUCCESS \ : (((lck)->type == apr_anylock_procmutex) \ ? apr_proc_mutex_trylock((lck)->lock.pm) \ : APR_EINVAL))
Definition at line 93 of file apr_anylock.h.
#define APR_ANYLOCK_UNLOCK | ( | lck | ) |
(((lck)->type == apr_anylock_none) \ ? APR_SUCCESS \ : (((lck)->type == apr_anylock_procmutex) \ ? apr_proc_mutex_unlock((lck)->lock.pm) \ : APR_EINVAL))
Definition at line 119 of file apr_anylock.h.
typedef struct apr_anylock_t apr_anylock_t |
Structure that may contain any APR lock type