APR Process Locking Routines. More...
#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
Go to the source code of this file.
Typedefs | |
typedef struct apr_proc_mutex_t | apr_proc_mutex_t |
Enumerations | |
enum | apr_lockmech_e { APR_LOCK_FCNTL, APR_LOCK_FLOCK, APR_LOCK_SYSVSEM, APR_LOCK_PROC_PTHREAD, APR_LOCK_POSIXSEM, APR_LOCK_DEFAULT } |
Functions | |
apr_status_t | apr_proc_mutex_create (apr_proc_mutex_t **mutex, const char *fname, apr_lockmech_e mech, apr_pool_t *pool) |
apr_status_t | apr_proc_mutex_child_init (apr_proc_mutex_t **mutex, const char *fname, apr_pool_t *pool) |
apr_status_t | apr_proc_mutex_lock (apr_proc_mutex_t *mutex) |
apr_status_t | apr_proc_mutex_trylock (apr_proc_mutex_t *mutex) |
apr_status_t | apr_proc_mutex_unlock (apr_proc_mutex_t *mutex) |
apr_status_t | apr_proc_mutex_destroy (apr_proc_mutex_t *mutex) |
apr_status_t | apr_proc_mutex_cleanup (void *mutex) |
const char * | apr_proc_mutex_lockfile (apr_proc_mutex_t *mutex) |
const char * | apr_proc_mutex_name (apr_proc_mutex_t *mutex) |
const char * | apr_proc_mutex_defname (void) |
apr_pool_t * | apr_proc_mutex_pool_get (const apr_proc_mutex_t *theproc_mutex) |
APR Process Locking Routines.