enum apr_lockmech_e
Overview
Enumerated potential types for APR process locking methods
#include <apr_proc_mutex.h> enum apr_lockmech_e { APR_LOCK_FCNTL, APR_LOCK_FLOCK, APR_LOCK_SYSVSEM, APR_LOCK_PROC_PTHREAD, APR_LOCK_POSIXSEM, APR_LOCK_DEFAULT, };
Detailed Documentation
Enumerated potential types for APR process locking methods
Warning
Check APR_HAS_foo_SERIALIZE defines to see if the platform supports APR_LOCK_foo. Only APR_LOCK_DEFAULT is portable.
Enum Values
APR_LOCK_FCNTL
fcntl()
APR_LOCK_FLOCK
flock()
APR_LOCK_SYSVSEM
System V Semaphores
APR_LOCK_PROC_PTHREAD
POSIX pthread process-based locking
APR_LOCK_POSIXSEM
POSIX semaphore process-based locking
APR_LOCK_DEFAULT
Use the default process lock