[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ch_free() vs. ldap_pvt_thread_pool_destroy()
Is a thread pool context valid after ldap_int_thread_pool_shutdown()?
After slapd:main() has done ldap_pvt_thread_destroy() (and thus
ldap_int_thread_pool_shutdown()), it keeps using ch_free() - which via
slap_sl_context() gets a context. It uses (directly or indirectly)
ldap_pvt_thread_pool_context(), ldap_pvt_thread_self(), pthread_equal()
when pthreads is used, and ldap_pvt_thread_pool_getkey().
--
Hallvard