From 959f7365fccd1c89be9938c2655eba9122171e6a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 20 Oct 2013 20:35:45 +0200 Subject: Drop threadvars entirely --- sysdeps/mach/pt-stack-alloc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sysdeps/mach/pt-stack-alloc.c') 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 -#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; -- cgit v1.2.3