summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 04:04:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 04:04:02 +0000
commit57a871021bca62c5e0be7210c5a1119c90658d83 (patch)
tree7b0589213afff4c60638f87fe330c32bb9151326 /libpthread
parentf3a01e0fe21cc9942358c1564b34dcebe963b579 (diff)
uClibc has pthread_attr_{get,set}stack now
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/pthread.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/pthread.h b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
index 8c8e6544d..aaab510c3 100644
--- a/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+++ b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
@@ -163,7 +163,7 @@ enum
/* 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 @@ extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
__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 @@ extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
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