From: Mark Valence Date: Thu, 8 Jun 2000 02:07:49 +0000 (+0000) Subject: Disable thread pooling while I fix the deadlock. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2707 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da355b317e7f0c4692023ab471ebc6c90ac09b03;p=openldap Disable thread pooling while I fix the deadlock. --- diff --git a/libraries/libldap_r/threads.c b/libraries/libldap_r/threads.c index a1650db314..cd9934184a 100644 --- a/libraries/libldap_r/threads.c +++ b/libraries/libldap_r/threads.c @@ -306,6 +306,8 @@ ldap_pvt_thread_pool_submit ( ldap_pvt_thread_pool_t pool, void *(*start_routine int need_thread = 0; ldap_pvt_thread_t thr; + return ldap_pvt_thread_create( &thr, 1, (void *)start_routine, arg ); + if (pool == NULL) return(-1);