History log of /httpd/include/util_mutex.h
Revision Date Author Comments Expand
67746e0d18eeceb247fc940148c9b4d358929643 1180681 09-Oct-2011 sf

Add -D DUMP_RUN_CFG option to dump some configuration items 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.

742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 23-Sep-2011 jim

Cleanup effort in prep for GA push: Trim trailing whitespace... no func change

ap_config.h ap_hooks.h ap_listen.h ap_mpm.h ap_regex.h ap_regkey.h ap_release.h ap_slotmem.h ap_socache.h http_connection.h http_core.h http_log.h http_protocol.h http_request.h http_vhost.h httpd.h mod_core.h mpm_common.h scoreboard.h util_cfgtree.h util_charset.h util_filter.h util_ldap.h util_mutex.h util_script.h util_time.h /httpd/modules/aaa/mod_authz_dbd.h /httpd/modules/arch/unix/mod_unixd.h /httpd/modules/arch/win32/mod_isapi.h /httpd/modules/cache/cache_cache.h /httpd/modules/cache/cache_hash.h /httpd/modules/cache/cache_pqueue.h /httpd/modules/core/mod_so.h /httpd/modules/core/mod_watchdog.h /httpd/modules/database/mod_dbd.h /httpd/modules/filters/libsed.h /httpd/modules/filters/mod_include.h /httpd/modules/filters/mod_ratelimit.h /httpd/modules/filters/regexp.h /httpd/modules/filters/sed.h /httpd/modules/generators/mod_cgi.h /httpd/modules/generators/mod_suexec.h /httpd/modules/ldap/util_ldap_cache.h /httpd/modules/loggers/mod_log_config.h /httpd/modules/lua/lua_vmprep.h /httpd/modules/lua/mod_lua.h /httpd/modules/mappers/mod_rewrite.h /httpd/modules/proxy/ajp.h /httpd/modules/proxy/ajp_header.h /httpd/modules/proxy/mod_serf.h /httpd/modules/session/mod_session.h /httpd/modules/ssl/mod_ssl.h /httpd/modules/ssl/ssl_private.h /httpd/modules/ssl/ssl_util_ssl.h /httpd/os/netware/os.h /httpd/os/netware/pre_nw.h /httpd/os/unix/unixd.h /httpd/os/win32/os.h /httpd/server/mpm/event/fdqueue.h /httpd/server/mpm/mpmt_os2/mpm_default.h /httpd/server/mpm/simple/simple_event.h /httpd/server/mpm/winnt/mpm_winnt.h /httpd/server/util_expr_parse.h /httpd/support/suexec.h
6a00621903eff76c1a3ebc3ee46f5e59a492bf77 940979 04-May-2010 wrowe

It is not inconvenient to return the derived filename here, let's save the caller later hassle in looking this up, if they like.

ead0b57bbeaec5acb14f931b5641962f429dabc9 912666 22-Feb-2010 trawick

Fix startup segfault when the Mutex directive is used but no loaded 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

2b6c7b8eb5fbc43564898aedac730df7e91da475 886154 02-Dec-2009 trawick

Add OmitPID keyword on Mutex directive to suppress the 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!)

f117c50b1d0e98940c4bb5b464dfb3a09d8a5c4f 885784 01-Dec-2009 trawick

include definition of cmd_parms

f4c8f0f5f11dd9f387441204fbe6d109f5c4eb25 883859 24-Nov-2009 trawick

fix the "fix" in r883816 internal function ap_set_mutex() should be AP_DECLARE_NONSTD() like our other directive parsers

d7b1e53a274fb37511f86b8808d72b532be925a5 883816 24-Nov-2009 trawick

fix Win32 compile failure in r883540, reported by Gregg Smith (on Win32, external APIs use one calling convention while directive parsers use a different one)

11f2c481e1d57bedb3f758565307501e9a2730dd 883540 24-Nov-2009 trawick

Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex, 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.

/httpd/CHANGES /httpd/build/mkconfNW.awk /httpd/docs/conf/extra/httpd-mpm.conf.in /httpd/docs/conf/extra/httpd-ssl.conf.in /httpd/docs/conf/httpd.conf.in ap_mmn.h ap_slotmem.h mpm_common.h util_ldap.h util_mutex.h /httpd/modules/aaa/mod_auth_digest.c /httpd/modules/core/mod_watchdog.c /httpd/modules/core/mod_watchdog.h /httpd/modules/examples/mod_example_ipc.c /httpd/modules/generators/mod_info.c /httpd/modules/ldap/util_ldap.c /httpd/modules/mappers/mod_rewrite.c /httpd/modules/ssl/mod_ssl.c /httpd/modules/ssl/ssl_engine_config.c /httpd/modules/ssl/ssl_engine_mutex.c /httpd/modules/ssl/ssl_private.h /httpd/modules/ssl/ssl_util_stapling.c /httpd/server/core.c /httpd/server/main.c /httpd/server/mpm/prefork/mpm_default.h /httpd/server/mpm/prefork/prefork.c /httpd/server/mpm/worker/mpm_default.h /httpd/server/mpm/worker/worker.c /httpd/server/mpm_common.c /httpd/server/util_mutex.c /httpd/test/make_sni.sh
f8aafb8bd93472f7da5a7c158958ee09e4176c8e 758613 26-Mar-2009 trawick

remove leader, perchild, and threadpool MPMs (other than non-English bits in common parts of the manual)

/httpd/STATUS /httpd/docs/manual/mod/leader.html /httpd/docs/manual/mod/leader.html.de /httpd/docs/manual/mod/leader.html.en /httpd/docs/manual/mod/leader.html.ko.euc-kr /httpd/docs/manual/mod/leader.xml /httpd/docs/manual/mod/leader.xml.de /httpd/docs/manual/mod/leader.xml.ko /httpd/docs/manual/mod/leader.xml.meta /httpd/docs/manual/mod/mod_privileges.xml /httpd/docs/manual/mod/mpm_common.xml /httpd/docs/manual/mod/perchild.html /httpd/docs/manual/mod/perchild.html.en /httpd/docs/manual/mod/perchild.xml /httpd/docs/manual/mod/perchild.xml.meta /httpd/docs/manual/mod/threadpool.html /httpd/docs/manual/mod/threadpool.html.en /httpd/docs/manual/mod/threadpool.xml /httpd/docs/manual/mod/threadpool.xml.meta /httpd/docs/manual/programs/configure.xml util_mutex.h /httpd/server/core_filters.c /httpd/server/mpm/MPM.NAMING /httpd/server/mpm/config.m4 /httpd/server/mpm/experimental/leader/Makefile.in /httpd/server/mpm/experimental/leader/README /httpd/server/mpm/experimental/leader/config5.m4 /httpd/server/mpm/experimental/leader/leader.c /httpd/server/mpm/experimental/leader/mpm.h /httpd/server/mpm/experimental/leader/mpm_default.h /httpd/server/mpm/experimental/perchild/Makefile.in /httpd/server/mpm/experimental/perchild/config5.m4 /httpd/server/mpm/experimental/perchild/mpm.h /httpd/server/mpm/experimental/perchild/mpm_default.h /httpd/server/mpm/experimental/perchild/perchild.c /httpd/server/mpm/experimental/threadpool/Makefile.in /httpd/server/mpm/experimental/threadpool/README /httpd/server/mpm/experimental/threadpool/config5.m4 /httpd/server/mpm/experimental/threadpool/mpm.h /httpd/server/mpm/experimental/threadpool/mpm_default.h /httpd/server/mpm/experimental/threadpool/pod.c /httpd/server/mpm/experimental/threadpool/pod.h /httpd/server/mpm/experimental/threadpool/threadpool.c /httpd/server/mpm_common.c /httpd/server/util_mutex.c
c95d39bd1b86b856ca72485516e7b2e61008fe96 568833 23-Aug-2007 wrowe

ap_available_mutexes_string and ap_add_available_mutexes_string 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?

cc0bf3af983afd28b83699bb17f53225752e589d 568794 23-Aug-2007 wrowe

Minor quibble; the declarespec for data comes after the data type.

f47c690c6fa01fa4334306be872da72fb9a3cdad 553013 04-Jul-2007 sctemme

Use correct Doxygen keywords for functions and variables. TODO: figure out whether those keywords are actually necessary. HTML-ify some documentation comments for benefit of Doxygen.

67139e2d50d1e11558d87f7042f61cb04bb0d1d2 467326 24-Oct-2006 jim

Once SSLMutex allowed for the setting of both the 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.