summaryrefslogtreecommitdiff
path: root/include/private/pthread_stop_world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/pthread_stop_world.h')
-rw-r--r--include/private/pthread_stop_world.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/private/pthread_stop_world.h b/include/private/pthread_stop_world.h
new file mode 100644
index 0000000..054c7a0
--- /dev/null
+++ b/include/private/pthread_stop_world.h
@@ -0,0 +1,12 @@
+#ifndef GC_PTHREAD_STOP_WORLD_H
+#define GC_PTHREAD_STOP_WORLD_H
+
+struct thread_stop_info {
+ int signal;
+ word last_stop_count; /* GC_last_stop_count value when thread */
+ /* last successfully handled a suspend */
+ /* signal. */
+ ptr_t stack_ptr; /* Valid only when stopped. */
+};
+
+#endif