apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleric Inglewood <aleric.inglew...@gmail.com>
Subject Is apr_pool_t thread-safe?
Date Wed, 15 Jul 2009 11:09:16 GMT

I'm working on the Second Life viewer, and I noted a threads related
problem with
the memory pool management.

Now we have to decide whether to use one APR memory pool per thread or,
to allow multiple thread to use the same apr_pool_t undercertain circumstances.

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?

Is there any disadvantage in using the apr_pool_t by different threads?


View raw message