Set thread stack size, default (1MB) is always too small for back-bdb.

This commit is contained in:
Howard Chu 2003-01-13 14:28:50 +00:00
parent d2bb1b5691
commit 38e7047130

View 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;