apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56947] New: Add apr_pool_mutex_set()
Date Wed, 10 Sep 2014 18:45:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56947

            Bug ID: 56947
           Summary: Add apr_pool_mutex_set()
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: tc+asf@travislists.com

Created attachment 31988
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31988&action=edit
Add apr_pool_mutex_set()

Greetings,

The attached patch, which applies cleanly to APR HEAD, addresses an issue we
experienced in using APR with the FreeSWITCH project.  We've been running this
patch in FreeSWITCH's version of APR for years and would like to see it
included upstream if possible.  Please let us know your thoughts and if any
changes are appropriate we'll be happy to make them and propose a revised
patch.

The patch series being proposed here is also available on the master branch of
this repository:

  https://github.com/traviscross/apr/

Author: Travis Cross <tc@traviscross.com>
Date:   Sun May 25 19:57:44 2014 +0000

    Add apr_pool_mutex_set()

    This commit allows adding a mutex to a pool to make low level
    allocations thread-safe.

    FreeSWITCH users running large production systems have been using this
    technique for over five years without incident.

    Since the fork, we've added in tree debugging code to check for
    contentious use of a pool.  Here we're able to use those hooks to
    reduce the size of the present commit.

    Signed-off-by: Anthony Minessale <anthm@freeswitch.org>
    Signed-off-by: Travis Cross <tc@traviscross.com>

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

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


Mime
View raw message