diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-10-20 20:35:45 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-10-20 20:35:45 +0200 |
commit | 959f7365fccd1c89be9938c2655eba9122171e6a (patch) | |
tree | e6bfd2033e25a1ff84c4ed38dc6e2f3084ff3c71 /sysdeps/mach/pt-stack-alloc.c | |
parent | e0e1f05656e0b443bcb4a5c61550925acba78cb6 (diff) |
Drop threadvars entirely
Diffstat (limited to 'sysdeps/mach/pt-stack-alloc.c')
-rw-r--r-- | sysdeps/mach/pt-stack-alloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/mach/pt-stack-alloc.c b/sysdeps/mach/pt-stack-alloc.c index f545ef3..121c189 100644 --- a/sysdeps/mach/pt-stack-alloc.c +++ b/sysdeps/mach/pt-stack-alloc.c @@ -24,8 +24,6 @@ #include <pt-internal.h> -#define __pthread_stacksize __pthread_default_attr.stacksize - /* The next address to use for stack allocation. */ static vm_address_t next_stack_base = VM_MIN_ADDRESS; @@ -41,9 +39,6 @@ __pthread_stack_alloc (void **stackaddr, size_t stacksize) vm_offset_t base; int i = 0; - if (stacksize != __pthread_stacksize) - return EINVAL; - get_stack: i ++; for (base = next_stack_base; |