diff options
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r-- | linuxthreads/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 567ba65..431e149 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; } |