diff options
author | Richard Braun <rbraun@sceen.net> | 2013-12-28 09:15:03 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-12-28 11:37:11 +0100 |
commit | 3a3fcc811e6b50b21124a5c5a128652e788a3b67 (patch) | |
tree | 7a848759809d79727f352720da91ac9ad24cff62 | |
parent | 2d27ccbc105e84c27547a003aec624a3cc3bbd66 (diff) |
libports: remove the threadvars stack size hack
Setting the stack size should now correctly be supported by libpthread.
* libports/manage-multithread.c (__pthread_stack_default_size): Remove
global variable.
-rw-r--r-- | libports/manage-multithread.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index dcebd097..64e442fe 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -28,10 +28,6 @@ #define STACK_SIZE (64 * 1024) -/* FIXME Until threadvars are completely replaced with correct TLS, use this - hack to set the stack size. */ -size_t __pthread_stack_default_size = STACK_SIZE; - #define THREAD_PRI 2 /* XXX To reduce starvation, the priority of new threads is initially @@ -110,7 +106,6 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket, auto void * thread_function (void *); - /* FIXME This is currently a no-op. */ pthread_attr_init (&attr); pthread_attr_setstacksize (&attr, STACK_SIZE); |