mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com> * 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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user