]> git.sur5r.net Git - openldap/commit
Don't spawn threads based on ltp_pending_count, it doesn't get decremented
authorHoward Chu <hyc@openldap.org>
Mon, 17 Feb 2003 12:10:41 +0000 (12:10 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 17 Feb 2003 12:10:41 +0000 (12:10 +0000)
commitfabbbafde9104c89e30b64258745a8ada4d0967b
tree56d6cccfccb12b91d9ebd554c1dd4735757aacb9
parent979e5073cf49d840286c8e88bd76d06e3d3c9690
Don't spawn threads based on ltp_pending_count, it doesn't get decremented
right away due to ltp_mutex still being held. Just see if all open threads
are active... Use cond_broadcast to signal all waiting threads. Make sure
to remove correct ctx from active list after the thread returns.
libraries/libldap_r/tpool.c