]> git.sur5r.net Git - openldap/commitdiff
Set thread stack size, default (1MB) is always too small for back-bdb.
authorHoward Chu <hyc@openldap.org>
Mon, 13 Jan 2003 14:28:50 +0000 (14:28 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 13 Jan 2003 14:28:50 +0000 (14:28 +0000)
libraries/libldap_r/thr_nt.c

index 2405e853cac39006f3e979b7102b1031dfdda863..33fc4ad95128f5e43c2c890736e73b98f089dbba 100644 (file)
@@ -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;