apr  1.7.0
About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).
  Fossies Dox: apr-1.7.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

apr_proc_mutex.h File Reference

APR Process Locking Routines. More...

#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
#include "apr_perms_set.h"
#include "apr_time.h"
Include dependency graph for apr_proc_mutex.h:
This graph shows which files directly or indirectly include this file:

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, APR_LOCK_DEFAULT_TIMED
}
 

Functions

 APR_DECLARE (apr_status_t) apr_proc_mutex_create(apr_proc_mutex_t **mutex
 
 APR_DECLARE (const char *) apr_proc_mutex_lockfile(apr_proc_mutex_t *mutex)
 
 APR_DECLARE (apr_lockmech_e) apr_proc_mutex_mech(apr_proc_mutex_t *mutex)
 
 APR_DECLARE (apr_pool_t *) apr_proc_mutex_pool_get(const apr_proc_mutex_t *theproc_mutex)
 

Variables

const char * fname
 
const char apr_lockmech_e mech
 
const char apr_lockmech_e apr_pool_tpool
 
apr_interval_time_t timeout
 
apr_fileperms_t perms
 
apr_fileperms_t apr_uid_t uid
 
apr_fileperms_t apr_uid_t apr_gid_t gid
 

Detailed Description

APR Process Locking Routines.

Definition in file apr_proc_mutex.h.