diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-11-01 00:20:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-11-01 00:20:07 +0000 |
commit | bf837fa36ff39d077b09ce592b1c4c38592586c1 (patch) | |
tree | 331aeddcd4d2ce35ecc1a033d3d82745bc31236b /nptl | |
parent | 41e25904a520d49ba14d7e9a0a7ea84731572ebd (diff) | |
download | glibc-bf837fa36ff39d077b09ce592b1c4c38592586c1.tar glibc-bf837fa36ff39d077b09ce592b1c4c38592586c1.tar.gz glibc-bf837fa36ff39d077b09ce592b1c4c38592586c1.tar.bz2 glibc-bf837fa36ff39d077b09ce592b1c4c38592586c1.zip |
[BZ #6843]
2008-10-31 Ulrich Drepper <drepper@redhat.com>
[BZ #6843]
* sysdeps/pthread/gai_misc.h (__gai_create_helper_thread):
Increase stack size for helper thread.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/gai_misc.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 733ff038d2..df01334d15 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2008-10-31 Ulrich Drepper <drepper@redhat.com> + + [BZ #6843] + * sysdeps/pthread/gai_misc.h (__gai_create_helper_thread): + Increase stack size for helper thread. + 2008-10-06 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/tls.h (THREAD_SET_STACK_GUARD): Add empty inline diff --git a/nptl/sysdeps/pthread/gai_misc.h b/nptl/sysdeps/pthread/gai_misc.h index 0a2686cb27..9094c1e37b 100644 --- a/nptl/sysdeps/pthread/gai_misc.h +++ b/nptl/sysdeps/pthread/gai_misc.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -97,7 +97,7 @@ __gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); /* The helper thread needs only very little resources. */ - (void) pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); + (void) pthread_attr_setstacksize (&attr, 4 * PTHREAD_STACK_MIN); /* Block all signals in the helper thread. To do this thoroughly we temporarily have to block all signals here. */ |