Could you help me understand why not used mutex to implement thread safety
functions:

   1. apr_palloc
   2. apr_pool_clear
   3. apr_pool_destroy
   4. apr_pvsprintf


In this functions is used:

   1. pool_concurrency_set_used
   2. pool_concurrency_set_idle
   3. pool_concurrency_set_destroyed

And if concurrency access is detected then called "pool_concurrency_abort"
and program terminated.

https://github.com/apache/apr/blob/trunk/memory/unix/apr_pools.c

Reply via email to