about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex16.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-24 18:22:04 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-24 18:22:04 +0000
commit3f80a99b8f5c9b7927a5a77f0c1854f0deeb1b25 (patch)
tree5a289c9186beda8f0fbc620dc1e2ca9f5088e341 /linuxthreads/Examples/ex16.c
parentebfa58bb230933c35798a83f99a7a0c95c9d2217 (diff)
downloadglibc-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 'linuxthreads/Examples/ex16.c')
0 files changed, 0 insertions, 0 deletions