svn commit: trunk/uClibc/libpthread/linuxthreads

vapier at uclibc.org vapier at uclibc.org
Tue Nov 15 01:36:42 UTC 2005


Author: vapier
Date: 2005-11-14 17:36:41 -0800 (Mon, 14 Nov 2005)
New Revision: 12250

Log:
use clone() instead of __clone()

Modified:
   trunk/uClibc/libpthread/linuxthreads/manager.c


Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/manager.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/manager.c	2005-11-15 01:28:16 UTC (rev 12249)
+++ trunk/uClibc/libpthread/linuxthreads/manager.c	2005-11-15 01:36:41 UTC (rev 12250)
@@ -648,7 +648,7 @@
 			 CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND |
 			 __pthread_sig_cancel, new_thread);
 #elif _STACK_GROWS_UP
-	  pid = __clone(pthread_start_thread_event, (void *) new_thread_bottom,
+	  pid = clone(pthread_start_thread_event, (void *) new_thread_bottom,
 			CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND |
 			__pthread_sig_cancel, new_thread);
 #else
@@ -690,7 +690,7 @@
 		     CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND |
 		     __pthread_sig_cancel, new_thread);
 #elif _STACK_GROWS_UP
-      pid = __clone(pthread_start_thread, (void *) new_thread_bottom,
+      pid = clone(pthread_start_thread, (void *) new_thread_bottom,
 		    CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND |
 		    __pthread_sig_cancel, new_thread);
 #else




More information about the uClibc-cvs mailing list