You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2014/09/10 20:45:46 UTC

[Bug 56947] New: Add apr_pool_mutex_set()

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 <an...@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


[Bug 56947] Add apr_pool_mutex_set()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56947

Anthony Minessale <an...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anthony.minessale@gmail.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


[Bug 56947] Add apr_pool_mutex_set()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56947

Brian West <br...@freeswitch.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brian@freeswitch.org

-- 
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