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 0000000..6f9197a
--- /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