summaryrefslogtreecommitdiffstats
path: root/src/libthread/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/pthread.c')
-rw-r--r--src/libthread/pthread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libthread/pthread.c b/src/libthread/pthread.c
index 8d3c7f9a..fcc309b7 100644
--- a/src/libthread/pthread.c
+++ b/src/libthread/pthread.c
@@ -132,3 +132,8 @@ threadexitsall(char *msg)
exits(msg);
}
+void
+_threadpexit(void)
+{
+ pthread_exit(0);
+}