2010-05-05 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / libgc / include / libgc-mono-debugger.h
blobbbf4439183320bc52e1a9945c17a7a848fe6ac94
1 #ifndef LIBGC_MONO_DEBUGGER_H
2 #define LIBGC_MONO_DEBUGGER_H
4 #if defined(_IN_LIBGC) || defined(_IN_THE_MONO_DEBUGGER)
6 typedef struct
8 void (* initialize) (void);
10 void (* thread_created) (pthread_t tid, void *stack_ptr);
11 void (* thread_exited) (pthread_t tid, void *stack_ptr);
13 void (* stop_world) (void);
14 void (* start_world) (void);
15 } GCThreadFunctions;
17 extern GCThreadFunctions *gc_thread_vtable;
19 extern void *
20 GC_mono_debugger_get_stack_ptr (void);
22 #else
23 #error "This header is only intended to be used by the Mono Debugger"
24 #endif
26 #endif