]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
set stack size
authorKurt Zeilenga <kurt@openldap.org>
Sat, 15 Feb 2003 16:42:26 +0000 (16:42 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 15 Feb 2003 16:42:26 +0000 (16:42 +0000)
libraries/libldap_r/thr_thr.c

index 17e4ef8d9d4659129b446ba08d7fe2f4b33c5f26..feb42a95d5b2fc9f824ec4cac7db5a6c996ac0a8 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