summaryrefslogtreecommitdiff
path: root/boehm-gc/include/private/pthread_stop_world.h
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/include/private/pthread_stop_world.h')
-rw-r--r--boehm-gc/include/private/pthread_stop_world.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/boehm-gc/include/private/pthread_stop_world.h b/boehm-gc/include/private/pthread_stop_world.h
new file mode 100644
index 000000000..6f9197a1f
--- /dev/null
+++ b/boehm-gc/include/private/pthread_stop_world.h
@@ -0,0 +1,11 @@
+#ifndef GC_PTHREAD_STOP_WORLD_H
+#define GC_PTHREAD_STOP_WORLD_H
+
+struct thread_stop_info {
+ 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