summaryrefslogtreecommitdiffstats
path: root/src/libthread/FreeBSD.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/FreeBSD.c')
-rw-r--r--src/libthread/FreeBSD.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libthread/FreeBSD.c b/src/libthread/FreeBSD.c
index 0fdb54b9..df5bdb96 100644
--- a/src/libthread/FreeBSD.c
+++ b/src/libthread/FreeBSD.c
@@ -346,6 +346,13 @@ _pthreadinit(void)
signal(SIGUSR2, sigusr2handler);
}
+void
+_threadpexit(void)
+{
+ _exit(0);
+}
+
+
/*
* FreeBSD 4 and earlier needs the context functions.
*/