apr_pool_create_ex_debug(), yes. > On Feb 20, 2017, at 11:00 AM, Yann Ylavic <ylavic....@gmail.com> wrote: > > Well, this is for debug mode only I guess. > > On Mon, Feb 20, 2017 at 4:59 PM, Jim Jagielski <j...@jagunet.com> wrote: >> Please READ apr_pools.c... Search for '->mutex' >> >>> On Feb 20, 2017, at 10:58 AM, Yann Ylavic <ylavic....@gmail.com> wrote: >>> >>> On Mon, Feb 20, 2017 at 4:43 PM, Jim Jagielski <j...@apache.org> wrote: >>>> You are confusing pool mutexes with allocator mutexes... >>> >>> I'm not sure to understand, there is no pool mutex per se currently, >>> the mutex (if any) used by the pool is its allocator's. >>> >>> So as Brane says, if one sets a mutex to the allocator of a pool >>> because (s)he wants pool_create/destroy() to be thread-safe, it does >>> not necessarily wants the same for palloc() and friends (e.g. the pool >>> is used by a single thread). >>> >>> I think we should not (re)use the allocator mutex if we want the pool >>> allocations to be thread-safe, but precisely have a separate pool >>> mutex. >>
- APR pools, mutexes and thread safe allocations Jim Jagielski
- Re: APR pools, mutexes and thread safe allocat... Stefan Eissing
- Re: APR pools, mutexes and thread safe all... Jim Jagielski
- Re: APR pools, mutexes and thread safe allocat... Branko Čibej
- Re: APR pools, mutexes and thread safe all... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread safe all... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Yann Ylavic
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Yann Ylavic
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Stefan Eissing
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread saf... Yann Ylavic
- Re: APR pools, mutexes and thread saf... Jim Jagielski
- Re: APR pools, mutexes and thread safe all... Jim Jagielski
- Re: svn commit: r1783755 - /httpd/httpd/trunk/server/mpm/ev... Yann Ylavic
- Re: svn commit: r1783755 - /httpd/httpd/trunk/server/m... Stefan Eissing