summaryrefslogtreecommitdiff
path: root/pthread/pthread-functions.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-05-02 12:30:16 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-05-02 12:30:16 +0200
commit19657e8b846a7426424f261c355bc54a68b3021b (patch)
tree7ac17a0095e9ae21c7e779efac181f7178f3a4fe /pthread/pthread-functions.h
parente2ae1c43d168fc6f8b34332cbb0656e5d107cbf3 (diff)
Fix guardsize semantic
POSIX says guardsize is in addition to stacksize, not included. * pthread/pt-create.c (__pthread_create_internal): Use setup->guardsize + setup->stacksize as stack allocation size. Do not truncate guardsize to stacksize. * pthread/pt-internal.h (guardsize): Remove comment. * sysdeps/generic/pt-attr-setstacksize.c (pthread_attr_setstacksize): Do not truncate guardsize to stacksize.
Diffstat (limited to 'pthread/pthread-functions.h')
0 files changed, 0 insertions, 0 deletions