Welcome to mirror list, hosted at ThFree Co, Russian Federation.

libgc-mono-debugger.h « include « libgc - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbf4439183320bc52e1a9945c17a7a848fe6ac94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef LIBGC_MONO_DEBUGGER_H
#define LIBGC_MONO_DEBUGGER_H

#if defined(_IN_LIBGC) || defined(_IN_THE_MONO_DEBUGGER)

typedef struct
{
	void (* initialize) (void);

	void (* thread_created) (pthread_t tid, void *stack_ptr);
	void (* thread_exited) (pthread_t tid, void *stack_ptr);

	void (* stop_world) (void);
	void (* start_world) (void);
} GCThreadFunctions;

extern GCThreadFunctions *gc_thread_vtable;

extern void *
GC_mono_debugger_get_stack_ptr (void);

#else
#error "This header is only intended to be used by the Mono Debugger"
#endif

#endif