aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/timer_delete.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-28 06:27:21 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-28 06:27:21 +0000
commit5f5004df21cecd0f842ba6ac5610a8f3f9fd9413 (patch)
treeda43b7f57a0f7086cb42cd0f81b9341c02966e93 /nptl/sysdeps/unix/sysv/linux/timer_delete.c
parentf07d234541c487e2e14ba83b03571179b4e32b1a (diff)
downloadglibc-5f5004df21cecd0f842ba6ac5610a8f3f9fd9413.tar
glibc-5f5004df21cecd0f842ba6ac5610a8f3f9fd9413.tar.gz
glibc-5f5004df21cecd0f842ba6ac5610a8f3f9fd9413.tar.bz2
glibc-5f5004df21cecd0f842ba6ac5610a8f3f9fd9413.zip
Update.
* sysdeps/unix/sysv/linux/kernel-posix-timers.h: Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field. * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Remove debugging code. Create only one helper thread. * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Don't kill helper thread. * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): Renamed. Define statically. Use thread info from siginfo. (__helper_once): New variable. (__helper_tid): New variable. (__reset_helper_control): New function. (__start_helper_thread): New function.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/timer_delete.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/timer_delete.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_delete.c b/nptl/sysdeps/unix/sysv/linux/timer_delete.c
index 9028dc4efc..106e1ae883 100644
--- a/nptl/sysdeps/unix/sysv/linux/timer_delete.c
+++ b/nptl/sysdeps/unix/sysv/linux/timer_delete.c
@@ -58,10 +58,6 @@ timer_delete (timerid)
__no_posix_timers = 1;
# endif
- /* We have to get rid of the helper thread if we created one. */
- if (kt->sigev_notify == SIGEV_THREAD)
- (void) pthread_cancel (kt->th);
-
/* Free the memory. */
(void) free (kt);