]> git.sur5r.net Git - openldap/commitdiff
ITS#5197 fully revert prev commit, use thr_stub
authorHoward Chu <hyc@openldap.org>
Tue, 23 Oct 2007 21:14:39 +0000 (21:14 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 23 Oct 2007 21:14:39 +0000 (21:14 +0000)
servers/slapd/result.c

index 9d1ed0e34a09f9715df6626153b1d2980e1ece4f..c3e3861590b8ac4e02d05487795e89fe5939d0dd 100644 (file)
@@ -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;