mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
123948bd5e
enabled with LDAP_THREAD_DEBUG (cpp macro and environment variable): Move any ldap_pvt_* definitions from ldap_int_thread.h to ldap_pvt_thread.h. #define ldap_int_thread_equal/ldap_pvt_thread_equal instead of tpool.c:TID_EQ. Define some ldap_debug_*_t types, and LDAP_UINTPTR_T, in ldap_int_thread.h. ldap_int_thread.h/ldap_pvt_thread.h can now be included multiple times, giving different results depending on whether libldap_r/ldap_thr_debug.h was included. Add some cleanup and some preprocessor hacks. #define LDAP_THREAD*_IMPLEMENTATION in libldap_r/*.c, used by ldap_thr_debug.h. Add PTHREAD_MUTEX_ERRORCHECK/PTHREAD_MUTEX_ERRORCHECK_NP in thr_posix.c. |
||
---|---|---|
.. | ||
ldap_thr_debug.h | ||
Makefile.in | ||
rdwr.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 |