diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-08 08:50:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-08 08:50:37 +0000 |
commit | 9b2c75233e67af1943af87a4fd39c6b316064b1f (patch) | |
tree | 5cf54675b0067d9be0ee80e5f2d3e8fb2f3a180c /linuxthreads | |
parent | bf2c10ded6bd31d7b923408f099b32b549acb934 (diff) | |
download | glibc-9b2c75233e67af1943af87a4fd39c6b316064b1f.zip glibc-9b2c75233e67af1943af87a4fd39c6b316064b1f.tar.gz glibc-9b2c75233e67af1943af87a4fd39c6b316064b1f.tar.bz2 |
Update.
2001-01-08 Ulrich Drepper <drepper@redhat.com>
* libio/bits/stdio.h (printf): Define macro to map printf call to
fprintf which gcc can optimize.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/pthread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 75cac05..836d8a8 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -740,7 +740,10 @@ static void pthread_exit_process(int retcode, void *arg) /* Main thread should accumulate times for thread manager and its children, so that timings for main thread account for all threads. */ if (self == __pthread_main_thread) - waitpid(__pthread_manager_thread.p_pid, NULL, __WCLONE); + { + waitpid(__pthread_manager_thread.p_pid, NULL, __WCLONE); + free (__pthread_manager_thread_bos); + } } } |