mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Remove poolq_hash, it wasn't distributing work evenly to the queues. Just walk through all queues and use the one with smallest active+pending count. Since pool_retract also relied on the hash, a different means of locating the thread to retract was needed. Add pool_submit2 which returns the threadpool task structure, and record which poolq this task lives on. |
||
|---|---|---|
| .. | ||
| ldap_thr_debug.h | ||
| Makefile.in | ||
| rdwr.c | ||
| rmutex.c | ||
| rq.c | ||
| thr_cthreads.c | ||
| thr_debug.c | ||
| thr_nt.c | ||
| thr_posix.c | ||
| thr_pth.c | ||
| thr_stub.c | ||
| thr_thr.c | ||
| threads.c | ||
| tpool.c | ||