openldap/libraries
Hallvard Furuseth 8a92825225 Protect thread_keys[] with ldap_pvt_thread_pool_mutex, except in
ldap_pvt_thread_pool_purgekey() which may only be called during pauses.

Thus, also wait for pauses to finish before accessing thread_keys in
ldap_int_thread_pool_wrapper().  This may prevent pending tasks from
being started when a pause had been requested, which seems to have been
possible.  If that was a feature, we can split ltp_pause==1 in 2 states:
in pause (causes wait), and pause requested.

Also move 'thread_keys[].id = <thread id>' from pool_submit to
pool_wrapper.  Until pool_wrapper set the ctx as well, thread context
lookup would just return NULL anyway.
2007-05-09 21:38:28 +00:00
..
liblber ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
libldap Cast Debug(%p) pointer argument to void* 2007-05-09 18:38:10 +00:00
libldap_r Protect thread_keys[] with ldap_pvt_thread_pool_mutex, except in 2007-05-09 21:38:28 +00:00
liblunicode happy new year 2007-01-02 20:00:42 +00:00
liblutil ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
librewrite Framework for loadable mapper implementations 2007-01-12 23:20:17 +00:00
Makefile.in happy new year 2007-01-02 20:00:42 +00:00