apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Striker <stri...@apache.org>
Subject Re: Is apr_pool_t thread-safe?
Date Tue, 04 Aug 2009 07:09:32 GMT
On Thu, Jul 16, 2009 at 3:13 AM, Neil Conway<nrc@cs.berkeley.edu> wrote:
> On Wed, Jul 15, 2009 at 4:42 PM, Bojan Smojver<bojan@rexursive.com> wrote:
>> Pools are explicitly thread unsafe, so if you you are doing something to
>> the same pool from two different threads, you must synchronise using
>> your own mutex.
>
> ... except for creating subpools, which is a thread-safe operation.

...if the allocator of the pool the subpool is created on actually has a mutex.

> Neil

Cheers,

Sander

Mime
View raw message