diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2002-04-04 18:33:56 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2002-04-04 18:33:56 +0000 |
commit | 552c6c9ee4c74670e1b5d4fd8f98d5599bef64f5 (patch) | |
tree | f151de7ff7717809124cf124970699578cf982d7 /include/apr_global_mutex.h | |
parent | 29be35427c57c65ce719764182d9c5f32044c520 (diff) | |
download | libapr-552c6c9ee4c74670e1b5d4fd8f98d5599bef64f5.tar.gz |
Support for Posix semaphores for locking has been added. This uses
named semaphores (sem_open). Because there are a few different
implementations around, this uses the lowest common denominator in
creating the semaphore name. As far as its location in DEFAULT
priority, it's placed between pthread and sysvsem. Tested on
Darwin (in which it's the new default) and Solaris.
As part of the discovery of sem_open under Solaris, APR is now
aware of shm_open (Posix shared memory) under Solaris as well, if
someone wants to monkey with that :)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63222 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_global_mutex.h')
-rw-r--r-- | include/apr_global_mutex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_global_mutex.h b/include/apr_global_mutex.h index f80dbe8c1..b51388a63 100644 --- a/include/apr_global_mutex.h +++ b/include/apr_global_mutex.h @@ -97,6 +97,7 @@ typedef struct apr_global_mutex_t apr_global_mutex_t; * APR_LOCK_FCNTL * APR_LOCK_FLOCK * APR_LOCK_SYSVSEM + * APR_LOCK_POSIXSEM * APR_LOCK_PROC_PTHREAD * APR_LOCK_DEFAULT pick the default mechanism for the platform * </PRE> |