summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-12-29 14:06:43 +0100
committerRichard Braun <rbraun@sceen.net>2013-12-29 14:07:36 +0100
commit983b18a6ff16f5687a9ece63a50d1831dec88609 (patch)
tree17026abb83e8c8586ee6c7d66175dd6cb80ce1cf /sysdeps/mach
parentd8569a7a43651ca1c1149540619254e224ed7c9e (diff)
Revert "Allow applications to set the default stack size"
This reverts commit 536420a581f9f822cdef0fc460b5176a840f49e5. Now that threadvars have been replaced with TLS, this hack is no longer needed.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/mach/hurd/pt-sysdep.c b/sysdeps/mach/hurd/pt-sysdep.c
index fd71aba..038d614 100644
--- a/sysdeps/mach/hurd/pt-sysdep.c
+++ b/sysdeps/mach/hurd/pt-sysdep.c
@@ -28,16 +28,6 @@
__thread struct __pthread *___pthread_self;
-/* Allow programs that know about this library to override the default stack
- size.
-
- FIXME Stack sizes should normally be set at thread creation time using the
- standard interface, but Hurd threadvars have special alignment constraints.
- Until they are completely replaced with correct TLS, make this hack
- available. */
-extern size_t __pthread_stack_default_size;
-weak_extern(__pthread_stack_default_size);
-
/* Forward. */
static void *init_routine (void);
@@ -54,10 +44,6 @@ init_routine (void)
struct __pthread *thread;
int err;
- /* FIXME */
- if (&__pthread_stack_default_size != NULL)
- __pthread_default_attr.stacksize = __pthread_stack_default_size;
-
/* Initialize the library. */
__pthread_init ();