* roottypes.cs: Rename from tree.cs.
[mono.git] / libgc / include / libgc-mono-debugger.h
1 #ifndef LIBGC_MONO_DEBUGGER_H
2 #define LIBGC_MONO_DEBUGGER_H
3
4 #if defined(_IN_LIBGC) || defined(_IN_THE_MONO_DEBUGGER)
5
6 typedef struct
7 {
8         void (* initialize) (void);
9
10         void (* thread_created) (pthread_t tid, void *stack_ptr);
11         void (* thread_exited) (pthread_t tid, void *stack_ptr);
12
13         void (* stop_world) (void);
14         void (* start_world) (void);
15 } GCThreadFunctions;
16
17 extern GCThreadFunctions *gc_thread_vtable;
18
19 extern void
20 GC_mono_debugger_add_all_threads (void);
21
22 #else
23 #error "This header is only intended to be used by the Mono Debugger"
24 #endif
25
26 #endif
27