summaryrefslogtreecommitdiff
path: root/include/private/darwin_stop_world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/darwin_stop_world.h')
-rw-r--r--include/private/darwin_stop_world.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/private/darwin_stop_world.h b/include/private/darwin_stop_world.h
new file mode 100644
index 0000000..9924297
--- /dev/null
+++ b/include/private/darwin_stop_world.h
@@ -0,0 +1,15 @@
+#ifndef GC_DARWIN_STOP_WORLD_H
+#define GC_DARWIN_STOP_WORLD_H
+
+#if !defined(GC_DARWIN_THREADS)
+#error darwin_stop_world.h included without GC_DARWIN_THREADS defined
+#endif
+
+#include <mach/mach.h>
+#include <mach/thread_act.h>
+
+struct thread_stop_info {
+ mach_port_t mach_thread;
+};
+
+#endif