https://bz.apache.org/bugzilla/show_bug.cgi?id=58744

            Bug ID: 58744
           Summary: pthread mutex warning is outdated
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: d...@axtens.net

In documentation for the core module (manual/mod/core.xml), there's a very
prominent warning about the safety of pthread mutexes:

"On most systems, if a child process terminates abnormally while holding a
mutex that uses this implementation, the server will deadlock and stop
responding to requests. When this occurs, the server will require a manual
restart to recover.
Solaris is a notable exception as it provides a mechanism which usually allows
the mutex to be recovered after a child process terminates abnormally while
holding a mutex.
If your system implements the pthread_mutexattr_setrobust_np() function, you
may be able to use the pthread option safely."

Linux has supported robust pthread mutexes for quite some time:
Documentation/robust-futexes.txt went into the kernel in 2006, and man pages
for pthread_mutexattr_setrobust_np were added in ~2008.

There may well be systems that still don't support it, so the warning should
probably still stay, but could you please add Linux to the list of systems
where it's safe?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to