From bf837fa36ff39d077b09ce592b1c4c38592586c1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 1 Nov 2008 00:20:07 +0000 Subject: [PATCH] [BZ #6843] 2008-10-31 Ulrich Drepper [BZ #6843] * sysdeps/pthread/gai_misc.h (__gai_create_helper_thread): Increase stack size for helper thread. --- NEWS | 5 +++-- nptl/ChangeLog | 6 ++++++ nptl/sysdeps/pthread/gai_misc.h | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index b17f053c00a..08c9e211e2c 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU C Library NEWS -- history of user-visible changes. 2008-9-29 +GNU C Library NEWS -- history of user-visible changes. 2008-10-31 Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc. See the end for copying conditions. @@ -36,7 +36,8 @@ Version 2.9 * Many functions, exported and internal, now atomically set the close-on-exec flag when run on a sufficiently new kernel. Implemented by Ulrich Drepper. -* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu) +* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu, + Sinhala) Implemented by Pravin Satpute. * New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 733ff038d2f..df01334d15f 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2008-10-31 Ulrich Drepper + + [BZ #6843] + * sysdeps/pthread/gai_misc.h (__gai_create_helper_thread): + Increase stack size for helper thread. + 2008-10-06 Martin Schwidefsky * 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 0a2686cb275..9094c1e37b9 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. */ -- 2.47.2