]> git.sur5r.net Git - openldap/commitdiff
Set stack size for created threads
authorHoward Chu <hyc@openldap.org>
Fri, 14 Feb 2003 23:52:38 +0000 (23:52 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 14 Feb 2003 23:52:38 +0000 (23:52 +0000)
libraries/libldap_r/thr_thr.c

index c86fa542d3a7cc35171eed26b216b39fddede6b4..231d3be57e1cc89393959f0bd216d6a1f4023f30 100644 (file)
@@ -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