diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-05-21 17:58:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-05-21 17:58:38 +0000 |
commit | 12b7f470d21eeb897e25b9ef6dae4bfd787168f6 (patch) | |
tree | b10f4c03cb2697bb0952cd8533a142c4e1e7d610 /linuxthreads/sysdeps/pthread/pthread.h | |
parent | 4a0de63bbe1d64a9780e586ae801a78d483c339e (diff) | |
download | glibc-12b7f470d21eeb897e25b9ef6dae4bfd787168f6.zip glibc-12b7f470d21eeb897e25b9ef6dae4bfd787168f6.tar.gz glibc-12b7f470d21eeb897e25b9ef6dae4bfd787168f6.tar.bz2 |
Update.
2002-05-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h (pthread_create): Rename first
parameter.
(pthread_cancel): Likewise.
* internals.h (__pthread_create_2_1): Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/pthread.h')
-rw-r--r-- | linuxthreads/sysdeps/pthread/pthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/pthread/pthread.h b/linuxthreads/sysdeps/pthread/pthread.h index 08a338b..bc39918 100644 --- a/linuxthreads/sysdeps/pthread/pthread.h +++ b/linuxthreads/sysdeps/pthread/pthread.h @@ -160,7 +160,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, +extern int pthread_create (pthread_t *__restrict __threadp, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __THROW; @@ -588,7 +588,7 @@ extern int pthread_setcancelstate (int __state, int *__oldstate) __THROW; extern int pthread_setcanceltype (int __type, int *__oldtype) __THROW; /* Cancel THREAD immediately or at the next possibility. */ -extern int pthread_cancel (pthread_t __thread) __THROW; +extern int pthread_cancel (pthread_t __cancelthread) __THROW; /* Test for pending cancellation for the current thread and terminate the thread as per pthread_exit(PTHREAD_CANCELED) if it has been |