From cc775edf2d0c033dec6248454bdd5e1973f903dc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 4 Mar 2003 08:56:12 +0000 Subject: [PATCH] Update. * sysdeps/generic/dl-sysdep.h: Add double include protection. --- ChangeLog | 2 ++ nptl/ChangeLog | 5 +++++ nptl/pthread_create.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5c2c2ec..90eb8e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-03-03 Ulrich Drepper + * sysdeps/generic/dl-sysdep.h: Add double include protection. + * po/tr.po: Update from translation team. * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there diff --git a/nptl/ChangeLog b/nptl/ChangeLog index c1c695b..9218362 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2003-03-04 Ulrich Drepper + + * pthread_create.c (start_thread): Use THREAD_SETMEM to store + result of the thread function. + 2003-03-03 Ulrich Drepper * sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 6ed5200..1d34278 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -225,7 +225,7 @@ start_thread (void *arg) if (setjmp (pd->cancelbuf) == 0) { /* Run the code the user provided. */ - pd->result = pd->start_routine (pd->arg); + THREAD_SETMEM (pd, result, pd->start_routine (pd->arg)); } /* The thread is exiting now. */ -- 2.7.4