Apache HTTPD
Classes | Macros | Typedefs
apr_anylock.h File Reference

APR-Util transparent any lock flavor wrapper. More...

#include "apr_proc_mutex.h"
#include "apr_thread_mutex.h"
#include "apr_thread_rwlock.h"

Go to the source code of this file.

Classes

struct  apr_anylock_t
 
union  apr_anylock_t::apr_anylock_u_t
 

Macros

#define APR_ANYLOCK_LOCK(lck)
 
#define APR_ANYLOCK_TRYLOCK(lck)
 
#define APR_ANYLOCK_UNLOCK(lck)
 

Typedefs

typedef struct apr_anylock_t apr_anylock_t
 

Detailed Description

APR-Util transparent any lock flavor wrapper.

Definition in file apr_anylock.h.

Macro Definition Documentation

◆ APR_ANYLOCK_LOCK

#define APR_ANYLOCK_LOCK (   lck)
Value:
(((lck)->type == apr_anylock_none) \
: (((lck)->type == apr_anylock_procmutex) \
static sem_id lock
Definition threadpriv.c:21
#define APR_EINVAL
Definition apr_errno.h:711
apr_size_t size
#define APR_SUCCESS
Definition apr_errno.h:225
int type

Definition at line 66 of file apr_anylock.h.

◆ APR_ANYLOCK_TRYLOCK

#define APR_ANYLOCK_TRYLOCK (   lck)
Value:
(((lck)->type == apr_anylock_none) \
: (((lck)->type == apr_anylock_procmutex) \

Definition at line 93 of file apr_anylock.h.

◆ APR_ANYLOCK_UNLOCK

#define APR_ANYLOCK_UNLOCK (   lck)
Value:
(((lck)->type == apr_anylock_none) \
: (((lck)->type == apr_anylock_procmutex) \

Definition at line 119 of file apr_anylock.h.

Typedef Documentation

◆ apr_anylock_t

Structure that may contain any APR lock type