This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 3a3fcc811e6b50b21124a5c5a128652e788a3b67
Author: Richard Braun <[email protected]>
Date:   Sat Dec 28 09:15:03 2013 +0100

    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.
---
 libports/manage-multithread.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
index dcebd09..64e442f 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git

Reply via email to