Apache Portable Runtime
Macros | Typedefs | Functions
apr_thread_mutex.h File Reference

APR Thread Mutex Routines. More...

#include "apr.h"
#include "apr_errno.h"
#include "apr_pools.h"

Go to the source code of this file.

Macros

#define APR_THREAD_MUTEX_DEFAULT   0x0
 
#define APR_THREAD_MUTEX_NESTED   0x1
 
#define APR_THREAD_MUTEX_UNNESTED   0x2
 

Typedefs

typedef struct apr_thread_mutex_t apr_thread_mutex_t
 

Functions

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_lock (apr_thread_mutex_t *mutex)
 
apr_status_t apr_thread_mutex_trylock (apr_thread_mutex_t *mutex)
 
apr_status_t apr_thread_mutex_unlock (apr_thread_mutex_t *mutex)
 
apr_status_t apr_thread_mutex_destroy (apr_thread_mutex_t *mutex)
 
apr_pool_tapr_thread_mutex_pool_get (const apr_thread_mutex_t *thethread_mutex)
 

Detailed Description

APR Thread Mutex Routines.