summaryrefslogtreecommitdiff
path: root/include/apr_global_mutex.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2002-04-04 18:33:56 +0000
committerJim Jagielski <jim@apache.org>2002-04-04 18:33:56 +0000
commit920eb5520d865aff18fe5a170e30bfdec6593dd7 (patch)
treef151de7ff7717809124cf124970699578cf982d7 /include/apr_global_mutex.h
parent66a0a0b8821a83be5cdf3446317d2770646aa0c4 (diff)
downloadapr-920eb5520d865aff18fe5a170e30bfdec6593dd7.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: https://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.h1
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>