summaryrefslogtreecommitdiff
path: root/pthread/pt-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-create.c')
-rw-r--r--pthread/pt-create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c
index 4f8d043..5bb9f1f 100644
--- a/pthread/pt-create.c
+++ b/pthread/pt-create.c
@@ -45,6 +45,8 @@ entry_point (void *(*start_routine)(void *), void *arg)
uselocale (LC_GLOBAL_LOCALE);
#endif
+ __pthread_startup ();
+
pthread_exit (start_routine (arg));
}