httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38758] New: - process mutex trylock functions for unix
Date Wed, 22 Feb 2006 21:36:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38758>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38758

           Summary: process mutex trylock functions for unix
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: other
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chrisd@pearsoncmg.com


Years ago I wrote to the APR mailing list about the missing trylock functions in
locks/unix/proc_mutex.c, and since then I've just been patching APR to make what
I needed available:

http://marc.theaimsgroup.com/?l=apr-dev&m=103004616828872&w=2

I finally sat down and wrote out a full set of trylock functions; see the
attached patch.  I'm hoping they can be added to APR!  :-)  I've tested them on
Solaris and Linux, but other Unixes should probably be checked as well.  I've
supplied two test programs for doing that.

In my original email thread, Aaron Bannert and I briefly discussed the issue of
what happens when a lock is acquired by a process and then that process dies. 
For reference, I did some testing and I'll include my results as an attachment.
   The interesting new development in this field is described here, namely that
Linux support for robust pthread mutexes may be "coming real soon":

http://lwn.net/Articles/172134/

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message