diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-09-28 23:34:10 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-09-28 23:34:10 +0200 |
commit | 58a36b39ff9968d203037db496cedd8acbb969c3 (patch) | |
tree | 33834ad1c4015a19324c5161065d2420af48447c /pthread/pt-getattr.c | |
parent | d568cf99fd7e16fa9bdfce995c9318c8176f5dcd (diff) |
Fetch stack size from rlimit
* pthread/pt-create.c: Include <hurd/resource.h>
(__pthread_create_internal): When `attr''s stacksize is 0, try to get
the desired size from the RLIMIT_STACK rlimit before defaulting to
PTHREAD_STACK_DEFAULT.
* sysdeps/generic/pt-attr.c (__pthread_default_attr): Set stacksize to
0 instead of PTHREAD_STACK_DEFAULT.
Diffstat (limited to 'pthread/pt-getattr.c')
0 files changed, 0 insertions, 0 deletions