On Tuesday 20 September 2011, Antonio Vieiro wrote: > Is there any way to know if APR has already been initialized? I'm > working on two modules that use APR, and I'd like any of this to > initialize/terminate APR in case of need.
Just call apr_initialize/apr_terminate in each modules. Only the first call to apr_initialize and the n-th call to apr_terminate will do something (if apr_initialize has been called n times). I guess this should be made clearer in the docs.
