From: Howard Chu Date: Mon, 13 Jan 2003 14:28:50 +0000 (+0000) Subject: Set thread stack size, default (1MB) is always too small for back-bdb. X-Git-Tag: NO_SLAP_OP_BLOCKS~614 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38e70471309a1ea3f7c36edc4fe555453ad5c7ad;p=openldap Set thread stack size, default (1MB) is always too small for back-bdb. --- diff --git a/libraries/libldap_r/thr_nt.c b/libraries/libldap_r/thr_nt.c index 2405e853ca..33fc4ad951 100644 --- a/libraries/libldap_r/thr_nt.c +++ b/libraries/libldap_r/thr_nt.c @@ -41,7 +41,7 @@ ldap_pvt_thread_create( ldap_pvt_thread_t * thread, unsigned tid; HANDLE thd; - thd = (HANDLE) _beginthreadex(NULL, 0, (thrfunc_t *) start_routine, + thd = (HANDLE) _beginthreadex(NULL, LDAP_PVT_THREAD_STACK_SIZE, (thrfunc_t *) start_routine, arg, 0, &tid); *thread = (ldap_pvt_thread_t) thd;