Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
util_mutex.h File Reference

Apache Mutex support library. More...

#include "httpd.h"
#include "http_config.h"
#include "apr_global_mutex.h"
Include dependency graph for util_mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AP_LIST_FLOCK_SERIALIZE   ", 'flock:/path/to/file'"
 
#define AP_LIST_FCNTL_SERIALIZE   ", 'fcntl:/path/to/file'"
 
#define AP_LIST_SYSVSEM_SERIALIZE   ", 'sysvsem'"
 
#define AP_LIST_POSIXSEM_SERIALIZE   ", 'posixsem'"
 
#define AP_LIST_PTHREAD_SERIALIZE   ", 'pthread'"
 
#define AP_LIST_FILE_SERIALIZE   ", 'file:/path/to/file'"
 
#define AP_LIST_SEM_SERIALIZE   ", 'sem'"
 
#define AP_ALL_AVAILABLE_MUTEXES_STRING
 
#define AP_AVAILABLE_MUTEXES_STRING
 
#define AP_MUTEX_ALLOW_NONE
 
#define AP_MUTEX_DEFAULT_NONE
 

Functions

apr_status_t ap_parse_mutex (const char *arg, apr_pool_t *pool, apr_lockmech_e *mutexmech, const char **mutexfile)
 
const char * ap_set_mutex (cmd_parms *cmd, void *dummy, const char *arg)
 
void ap_mutex_init (apr_pool_t *p)
 
apr_status_t ap_mutex_register (apr_pool_t *pconf, const char *type, const char *default_dir, apr_lockmech_e default_mech, apr_int32_t options)
 
apr_status_t ap_global_mutex_create (apr_global_mutex_t **mutex, const char **name, const char *type, const char *instance_id, server_rec *server, apr_pool_t *pool, apr_int32_t options)
 
apr_status_t ap_proc_mutex_create (apr_proc_mutex_t **mutex, const char **name, const char *type, const char *instance_id, server_rec *server, apr_pool_t *pool, apr_int32_t options)
 
void ap_dump_mutexes (apr_pool_t *p, server_rec *s, apr_file_t *out)
 

Detailed Description

Apache Mutex support library.