diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-24 18:22:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-24 18:22:04 +0000 |
commit | 3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25 (patch) | |
tree | 5a289c9186beda8f0fbc620dc1e2ca9f5088e341 /nptl/ChangeLog | |
parent | ebfa58bb230933c35798a83f99a7a0c95c9d2217 (diff) | |
download | glibc-3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25.tar.gz glibc-3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25.tar.xz glibc-3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25.zip |
[BZ #405]
Update. * pthread_create.c (__pthread_create_2_1): Remember whether thread is created detached and if yes, do not try to free the stack in case the thread creation failed. * sysdeps/pthread/createthread.c (do_clone): Free stack here if clone call fails. Don't depend on INTERNAL_SYSCALL_ERRNO return zero in case there has been no error. [BZ #405]
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r-- | nptl/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 2182cac1cf..01c6c10165 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,12 @@ 2004-09-24 Ulrich Drepper <drepper@redhat.com> + * pthread_create.c (__pthread_create_2_1): Remember whether thread + is created detached and if yes, do not try to free the stack in case + the thread creation failed. + * sysdeps/pthread/createthread.c (do_clone): Free stack here if clone + call fails. Don't depend on INTERNAL_SYSCALL_ERRNO return zero in + case there has been no error. [BZ #405] + * pthread_create.c (start_thread): Don't wait for scheduler data etc to be set at the beginning of the function. The cancellation infrastructure must have been set up. And enable async |