]> git.ipfire.org Git - thirdparty/gcc.git/blame - boehm-gc/include/private/darwin_stop_world.h
re PR target/78594 (Bug in November 11th, 2016 change to rs6000.md)
[thirdparty/gcc.git] / boehm-gc / include / private / darwin_stop_world.h
CommitLineData
6991c6c9
JS
1#ifndef GC_DARWIN_STOP_WORLD_H
2#define GC_DARWIN_STOP_WORLD_H
3
4#if !defined(GC_DARWIN_THREADS)
5#error darwin_stop_world.h included without GC_DARWIN_THREADS defined
6#endif
7
8#include <mach/mach.h>
9#include <mach/thread_act.h>
10
11struct thread_stop_info {
12 mach_port_t mach_thread;
13};
14
aa7a966b
BM
15struct GC_mach_thread {
16 thread_act_t thread;
17 int already_suspended;
18};
19
20void GC_darwin_register_mach_handler_thread(mach_port_t thread);
21
6991c6c9 22#endif