apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: Is apr_pool_t thread-safe?
Date Wed, 15 Jul 2009 11:44:12 GMT
Aleric Inglewood <aleric.inglewood@gmail.com> writes:

> I cannot find the answer to my question in the documentation;
> is apr_pool_t thread safe, and if so, what precautions are needed to
> make it so?

Looking at APR 1.3.4, it appears apr_pool_t is not thread safe.  Pools
have a mutex, but it's only used by some of the debugging functions.  So
you'd want to be sure not to access a pool from different threads at the
same time.

-- 
Dan Poirier <poirier@pobox.com>


Mime
View raw message