From 2e4581e4fba917f1779cd0a010a45698586c190a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 3 Sep 2000 17:10:35 +0000 Subject: Update. 2000-09-03 Ulrich Drepper * time/sys/time.h (gettimeofday): Move restrict for tz parameter to the typedefs of __timezone_ptr_t. Reported by MATSUMURA Hiromitsu . 2000-09-02 Jakub Jelinek * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in the loop. 2000-09-01 H.J. Lu * Makeconfig (built-program-cmd): Don't use the dynamic linker to run a binary if it is in $(tests-static). * Rules (binaries-static): Add $(tests-static). --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/manager.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 54ee1cf..0a256fc 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2000-09-03 Mark Kettenis + + * manager.c (pthread_exited): Correctly report event as TD_REAP + instead of TD_DEATH. Fix comments. + 2000-09-03 Ulrich Drepper * spinlock.h (testandset): Add cast to avoid warning. diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 6531775..37f4267 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -737,15 +737,15 @@ static void pthread_exited(pid_t pid) /* If we have to signal this event do it now. */ if (th->p_report_events) { - /* See whether TD_DEATH is in any of the mask. */ + /* See whether TD_REAP is in any of the mask. */ int idx = __td_eventword (TD_REAP); uint32_t mask = __td_eventmask (TD_REAP); if ((mask & (__pthread_threads_events.event_bits[idx] | th->p_eventbuf.eventmask.event_bits[idx])) != 0) { - /* Yep, we have to signal the death. */ - th->p_eventbuf.eventnum = TD_DEATH; + /* Yep, we have to signal the reapage. */ + th->p_eventbuf.eventnum = TD_REAP; th->p_eventbuf.eventdata = th; __pthread_last_event = th; -- cgit v1.1