svn commit: trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread

vapier at uclibc.org vapier at uclibc.org
Thu Sep 8 04:04:03 UTC 2005


Author: vapier
Date: 2005-09-07 21:04:02 -0700 (Wed, 07 Sep 2005)
New Revision: 11395

Log:
uClibc has pthread_attr_{get,set}stack now

Modified:
   trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h


Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h	2005-09-08 03:56:33 UTC (rev 11394)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h	2005-09-08 04:04:02 UTC (rev 11395)
@@ -163,7 +163,7 @@
 /* Create a thread with given attributes ATTR (or default attributes
    if ATTR is NULL), and call function START_ROUTINE with given
    arguments ARG.  */
-extern int pthread_create (pthread_t *__restrict __thread_id,
+extern int pthread_create (pthread_t *__restrict __threadp,
 			   __const pthread_attr_t *__restrict __attr,
 			   void *(*__start_routine) (void *),
 			   void *__restrict __arg) __THROW;
@@ -267,9 +267,6 @@
 				      __attr, void **__restrict __stackaddr)
      __THROW;
 
-#if 0
-/* Not yet implemented in uClibc! */
-
 #ifdef __USE_XOPEN2K
 /* The following two interfaces are intended to replace the last two.  They
    require setting the address as well as the size since only setting the
@@ -282,7 +279,6 @@
 				  void **__restrict __stackaddr,
 				  size_t *__restrict __stacksize) __THROW;
 #endif
-#endif
 
 /* Add information about the minimum stack size needed for the thread
    to be started.  This size must never be less than PTHREAD_STACK_SIZE




More information about the uClibc-cvs mailing list