17 #ifndef APR_THREAD_MUTEX_H 18 #define APR_THREAD_MUTEX_H 32 #if APR_HAS_THREADS || defined(DOXYGEN) 43 #define APR_THREAD_MUTEX_DEFAULT 0x0 44 #define APR_THREAD_MUTEX_NESTED 0x1 45 #define APR_THREAD_MUTEX_UNNESTED 0x2 46 #define APR_THREAD_MUTEX_TIMED 0x4 apr_status_t apr_thread_mutex_lock(apr_thread_mutex_t *mutex)
struct apr_thread_mutex_t apr_thread_mutex_t
Definition: apr_thread_mutex.h:41
apr_status_t apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex, apr_interval_time_t timeout)
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_status_t apr_thread_mutex_create(apr_thread_mutex_t **mutex, unsigned int flags, apr_pool_t *pool)
apr_status_t apr_thread_mutex_destroy(apr_thread_mutex_t *mutex)
apr_status_t apr_thread_mutex_unlock(apr_thread_mutex_t *mutex)
APR Platform Definitions.
apr_status_t apr_thread_mutex_trylock(apr_thread_mutex_t *mutex)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
#define APR_POOL_DECLARE_ACCESSOR(type)
Definition: apr_pools.h:81