diff options
author | 1998-10-29 15:17:25 +0000 | |
---|---|---|
committer | 1998-10-29 15:17:25 +0000 | |
commit | c5e340c71ba6f4563ca5fa245baa82b6363ddb2e (patch) | |
tree | 3ff655dfee624df411e1f3ebc062181fc0f3f338 /linuxthreads/signals.c | |
parent | (__pthread_trylock): Define inline. (__pthread_lock): Add extra parameter to declaration. Declare using internal_function. (__pthread_unlock): Declare using internal_function. (diff) | |
download | glibc-c5e340c71ba6f4563ca5fa245baa82b6363ddb2e.tar.xz glibc-c5e340c71ba6f4563ca5fa245baa82b6363ddb2e.zip |
Update.
1998-10-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
/prof/self/fd/FD first.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
* stdio-common/_itoa.h (_fitoa_word): New inline function. Write
formatted number starting at given position and return pointer to
following byte.
(_fitoa): Likewise, for long long.
Diffstat (limited to 'linuxthreads/signals.c')
-rw-r--r-- | linuxthreads/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c index 5444ef73f3..e833778d53 100644 --- a/linuxthreads/signals.c +++ b/linuxthreads/signals.c @@ -53,7 +53,7 @@ int pthread_kill(pthread_t thread, int signo) pthread_handle handle = thread_handle(thread); int pid; - __pthread_lock(&handle->h_lock); + __pthread_lock(&handle->h_lock, NULL); if (invalid_handle(handle, thread)) { __pthread_unlock(&handle->h_lock); return ESRCH; |