From 58f46c794a3dc049ae8c53dab76d83ea23408479 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Apr 2001 21:46:48 +0000 Subject: Update. 2001-04-10 Martin Schwidefsky * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return value of getcontext. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return value of setcontext. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext call by changing the saved context. --- linuxthreads/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/manager.c') diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 567ba658d1..431e149212 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -262,7 +262,7 @@ static int pthread_start_thread(void *arg) outcome = self->p_start_args.start_routine(THREAD_GETMEM(self, p_start_args.arg)); /* Exit with the given return value */ - pthread_exit(outcome); + __pthread_do_exit(outcome, CURRENT_STACK_FRAME); return 0; } -- cgit v1.2.1