From: Howard Chu Date: Fri, 14 Feb 2003 23:52:38 +0000 (+0000) Subject: Set stack size for created threads X-Git-Tag: NO_SLAP_OP_BLOCKS~356 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bbdc869d7a7926d183265a7604cc797094bd1fbf;p=openldap Set stack size for created threads --- diff --git a/libraries/libldap_r/thr_thr.c b/libraries/libldap_r/thr_thr.c index c86fa542d3..231d3be57e 100644 --- a/libraries/libldap_r/thr_thr.c +++ b/libraries/libldap_r/thr_thr.c @@ -57,9 +57,8 @@ ldap_pvt_thread_create( ldap_pvt_thread_t * thread, void *(*start_routine)( void *), void *arg) { - return( thr_create( NULL, 0, start_routine, arg, - detach ? THR_DETACHED : 0, - thread ) ); + return( thr_create( NULL, LDAP_PVT_THREAD_STACK_SIZE, start_routine, + arg, detach ? THR_DETACHED : 0, thread ) ); } void