Skip to content
Snippets Groups Projects
Commit 38e70471 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent d2bb1b56
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment