17:22 troy
To: TROY.LIU 劉春偉
Cc: d...@apr.apache.org; modules-dev@httpd.apache.org
Subject: Re: apr_palloc is not thread safe
TROY.LIU 劉春偉 troy@deltaww.com.cn writes:
In our practice, we found two threads get same address returned by
apr_palloc. It will happen about one hour later after
] On Behalf Of Philip
Martin
Sent: Thursday, May 30, 2013 17:22 troy
To: TROY.LIU 劉春偉
Cc: d...@apr.apache.org; modules-...@httpd.apache.org
Subject: Re: apr_palloc is not thread safe
TROY.LIU 劉春偉 troy@deltaww.com.cn writes:
In our practice, we found two threads get same address returned
* accesses the parent pool.
The pool system allows multiple threads to use multiple pools. There is
no point trying to make apr_palloc thread-safe as the API is not
designed to work that way. Even if apr_palloc was thread-safe how
would apr_pool_clear work?
A related discussion:
http://mail