summaryrefslogtreecommitdiff
path: root/pthread/pt-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-internal.h')
-rw-r--r--pthread/pt-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 0dd4e9a8..6d34be13 100644
--- a/pthread/pt-internal.h
+++ b/pthread/pt-internal.h
@@ -218,6 +218,10 @@ extern void __pthread_thread_halt (struct __pthread *thread,
int need_dealloc);
+/* Called by a thread just before it calls the provided start
+ routine. */
+extern void __pthread_startup (void);
+
/* Block THREAD. */
extern void __pthread_block (struct __pthread *thread);