summaryrefslogtreecommitdiff
path: root/sysdeps/mach/pt-thread-alloc.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-24 11:44:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-24 11:44:52 +0200
commit714413a7694ff534855e9e5904899695eac6c9bb (patch)
treeb80a3bdd220b5f6978009ac1459272e1c9b8aa45 /sysdeps/mach/pt-thread-alloc.c
parent959f7365fccd1c89be9938c2655eba9122171e6a (diff)
Really use user-provided stack
* pthread/pt-create.c (__pthread_create_internal): When the user provides a `stackaddr`, use it instead of allocating a stack. * pthread/pt-detach.c (pthread_detach): Only deallocate the stack when it was allocated by libpthread. * pthread/pt-join.c (pthread_join): Likewise.
Diffstat (limited to 'sysdeps/mach/pt-thread-alloc.c')
0 files changed, 0 insertions, 0 deletions