summaryrefslogtreecommitdiff
path: root/pthread/pt-alloc.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-09-03 20:29:10 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-11-25 00:29:48 +0100
commit536420a581f9f822cdef0fc460b5176a840f49e5 (patch)
tree0d993fec12628cc86a1efa7c1be0fb834a5a68e9 /pthread/pt-alloc.c
parent2531b513b4c3338a69230f273a57f6a7f927b3c8 (diff)
Allow applications to set the default stack size
This change is a temporary hack intended for the Hurd servers. Once Hurd threadvars are replaced with TLS, this commit should be reverted. * pthread/pt-internal.h (__pthread_default_attr): Remove const qualifier. * sysdeps/generic/pt-attr.c (__pthread_default_attr): Likewise. * sysdeps/mach/hurd/pt-sysdep.c (__pthread_stack_default_size): New variable. (init_routine): Set __pthread_default_attr.stacksize if __pthread_stack_default_size exists.
Diffstat (limited to 'pthread/pt-alloc.c')
0 files changed, 0 insertions, 0 deletions