mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
8a92825225
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. |
||
---|---|---|
.. | ||
ldap_thr_debug.h | ||
Makefile.in | ||
rdwr.c | ||
rmutex.c | ||
rq.c | ||
thr_cthreads.c | ||
thr_debug.c | ||
thr_lwp.c | ||
thr_nt.c | ||
thr_posix.c | ||
thr_pth.c | ||
thr_stub.c | ||
thr_thr.c | ||
threads.c | ||
tpool.c |