mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Set thread stack size, default (1MB) is always too small for back-bdb.
This commit is contained in:
parent
d2bb1b5691
commit
38e7047130
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user