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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libthread/pthread.c b/src/libthread/pthread.c
index 2ddd8c72..c1804a43 100644
--- a/src/libthread/pthread.c
+++ b/src/libthread/pthread.c
@@ -130,3 +130,9 @@ _pthreadinit(void)
pthread_key_create(&prockey, 0);
}
+void
+threadexitsall(char *msg)
+{
+ exits(msg);
+}
+