From bbdc869d7a7926d183265a7604cc797094bd1fbf Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 14 Feb 2003 23:52:38 +0000 Subject: [PATCH] Set stack size for created threads --- libraries/libldap_r/thr_thr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5