1 #ifndef GC_DARWIN_STOP_WORLD_H
2 #define GC_DARWIN_STOP_WORLD_H
4 #if !defined(GC_DARWIN_THREADS)
5 #error darwin_stop_world.h included without GC_DARWIN_THREADS defined
9 #include <mach/thread_act.h>
11 struct thread_stop_info {
12 mach_port_t mach_thread;
15 struct GC_mach_thread {
17 int already_suspended;
20 void GC_darwin_register_mach_handler_thread(mach_port_t thread);