summaryrefslogtreecommitdiffstats
path: root/include/util_mutex.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add -D DUMP_RUN_CFG option to dump some configuration itemsStefan Fritsch2011-10-091-0/+2
| | | | | | | | | from the parsed (or default) config. This is useful for init scripts that need to setup temporary directories and permissions, for example if those temporary directories are located on a ram disk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180681 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-2/+2
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
* It is not inconvenient to return the derived filename here, let'sWilliam A. Rowe Jr2010-05-041-7/+14
| | | | | | save the caller later hassle in looking this up, if they like. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@940979 13f79535-47bb-0310-9956-ffa450edef68
* Fix startup segfault when the Mutex directive is used but no loaded Jeff Trawick2010-02-221-0/+3
| | | | | | | | | | | | modules use httpd mutexes. Add an init call from core's pre-config hook to ensure init is performed before the config is parsed. PR: 48787 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@912666 13f79535-47bb-0310-9956-ffa450edef68
* Add OmitPID keyword on Mutex directive to suppress theJeff Trawick2009-12-021-2/+1
| | | | | | | | | | | | | | | | | | | addition of the parent pid to the generated lock file name. Change the Mutex directive syntax from Mutex default|mutex-name mechanism to Mutex mechanism [default|mutex-name] ... [OmitPID] as suggested by wrowe. (Thanks!) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@886154 13f79535-47bb-0310-9956-ffa450edef68
* include definition of cmd_parmsJeff Trawick2009-12-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885784 13f79535-47bb-0310-9956-ffa450edef68
* fix the "fix" in r883816Jeff Trawick2009-11-241-3/+3
| | | | | | | | internal function ap_set_mutex() should be AP_DECLARE_NONSTD() like our other directive parsers git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883859 13f79535-47bb-0310-9956-ffa450edef68
* fix Win32 compile failure in r883540, reported by Gregg SmithJeff Trawick2009-11-241-3/+3
| | | | | | | | (on Win32, external APIs use one calling convention while directive parsers use a different one) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883816 13f79535-47bb-0310-9956-ffa450edef68
* Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,Jeff Trawick2009-11-241-0/+104
| | | | | | | | | | | | | and WatchdogMutexPath with a single Mutex directive. Add APIs to simplify setup and user customization of APR proc and global mutexes. (See util_mutex.h.) Build-time setting DEFAULT_LOCKFILE is no longer respected; set DEFAULT_REL_RUNTIMEDIR instead. Some existing modules, such as mod_ldap and mod_auth_digest gain configurability for their mutexes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@883540 13f79535-47bb-0310-9956-ffa450edef68
* remove leader, perchild, and threadpool MPMs (other than non-English bits in ↵Jeff Trawick2009-03-261-2/+2
| | | | | | common parts of the manual) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758613 13f79535-47bb-0310-9956-ffa450edef68
* ap_available_mutexes_string and ap_add_available_mutexes_string William A. Rowe Jr2007-08-231-3/+50
| | | | | | | | | | | | | | | cannot be data symbols when mod_ssl is built as a loadable module; using an external string constant in a loadable module is not portable. Also reorganize file and sem to follow their explicit mechanisms, and ensured that the explicit mechansims are listed in order of preference. This raises a question, would [fcntl|file] be a clearer way of indiciating what the file/sem methods devolve to? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@568833 13f79535-47bb-0310-9956-ffa450edef68
* Minor quibble; the declarespec for data comes after the data type.William A. Rowe Jr2007-08-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@568794 13f79535-47bb-0310-9956-ffa450edef68
* Use correct Doxygen keywords for functions and variables. TODO: figure out ↵Sander Temme2007-07-041-1/+1
| | | | | | whether those keywords are actually necessary. HTML-ify some documentation comments for benefit of Doxygen. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@553013 13f79535-47bb-0310-9956-ffa450edef68
* Once SSLMutex allowed for the setting of both theJim Jagielski2006-10-241-0/+60
locking method and the lockfile location, I never liked how AcceptMutex was linked to LockFile. This seemed unnecessary. Much better to have AcceptMutex do both as well. Plus, now that we will likely see other modules require a "standard" way of setting mutexes, why not have Apache provide that as an API of sorts. Anyway, LockFile is now depreciated and AcceptMutex is now SSLMutex-like. We also provide a short function that "parses" out a mutex parameter and strips out the mechanism and lockfile location. AcceptMutex and SSLMutex is this capability. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467326 13f79535-47bb-0310-9956-ffa450edef68