From 983b18a6ff16f5687a9ece63a50d1831dec88609 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sun, 29 Dec 2013 14:06:43 +0100 Subject: 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. --- sysdeps/generic/pt-attr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/pt-attr.c b/sysdeps/generic/pt-attr.c index 4f95918..e501dc7 100644 --- a/sysdeps/generic/pt-attr.c +++ b/sysdeps/generic/pt-attr.c @@ -24,8 +24,7 @@ #include -/* FIXME Normally const, see sysdeps/mach/hurd/pt-sysdep.c. */ -struct __pthread_attr __pthread_default_attr = +const struct __pthread_attr __pthread_default_attr = { schedparam: { sched_priority: 0 }, stacksize: PTHREAD_STACK_DEFAULT, -- cgit v1.2.3