From: Howard Chu Date: Tue, 23 Oct 2007 21:14:39 +0000 (+0000) Subject: ITS#5197 fully revert prev commit, use thr_stub X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~484 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b9f012377a7bbaa6c657f89a64323de327a53e45;p=openldap ITS#5197 fully revert prev commit, use thr_stub --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 9d1ed0e34a..c3e3861590 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -743,14 +743,12 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) return LDAP_SIZELIMIT_EXCEEDED; } -#ifndef NO_THREADS /* Every 64 entries, check for thread pool pause */ if (( rs->sr_nentries & 0x3f == 0x3f ) && ldap_pvt_thread_pool_query( &connection_pool, LDAP_PVT_THREAD_POOL_PARAM_PAUSING, &i ) == 0 && i ) { return LDAP_BUSY; } -#endif rs->sr_type = REP_SEARCH;