aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index bf2cf1b06c8..6966df31d37 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -950,6 +950,12 @@ init_primary_thread (void)
950 primary_thread.event_object = Qnil; 950 primary_thread.event_object = Qnil;
951} 951}
952 952
953bool
954primary_thread_p (void *ptr)
955{
956 return (ptr == &primary_thread) ? true : false;
957}
958
953void 959void
954init_threads_once (void) 960init_threads_once (void)
955{ 961{