summaryrefslogtreecommitdiff
path: root/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'exit.c')
-rw-r--r--exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exit.c b/exit.c
index 1e07ccd..a32e0ca 100644
--- a/exit.c
+++ b/exit.c
@@ -48,5 +48,6 @@ pthread_exit(void * value)
/* FIXME: More to do here. IE, if pthread_detach() was called
and value != NULL, do we free(value)? */
+ /* Teleport back to _pthread_start_call() to cleanup and exit. */
longjmp(this->call.env, 1);
}