]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc/glibc-rh1299319-1.patch
dhcpcd: fix delay after dhcp down.
[ipfire-2.x.git] / src / patches / glibc / glibc-rh1299319-1.patch
CommitLineData
bb330e25
AF
1commit 232872379ee82cd040a52a48cbbae65a249b5765
2Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3Date: Sun Jan 8 19:56:52 2012 -0500
4
5 Use __pthread_get_minstack for AIO helper thread
6
7diff --git a/nptl/sysdeps/unix/sysv/linux/aio_misc.h b/nptl/sysdeps/unix/sysv/linux/aio_misc.h
8index 406d96e..8011c3e 100644
9--- a/nptl/sysdeps/unix/sysv/linux/aio_misc.h
10+++ b/nptl/sysdeps/unix/sysv/linux/aio_misc.h
11@@ -47,7 +47,7 @@ __aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
12 pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
13
14 /* The helper thread needs only very little resources. */
15- (void) pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
16+ (void) pthread_attr_setstacksize (&attr, __pthread_get_minstack (&attr));
17
18 /* Block all signals in the helper thread. To do this thoroughly we
19 temporarily have to block all signals here. */