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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgc/misc.c')
-rw-r--r--libgc/misc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgc/misc.c b/libgc/misc.c
index 4744faa405e..79c8178e73e 100644
--- a/libgc/misc.c
+++ b/libgc/misc.c
@@ -468,6 +468,15 @@ size_t GC_get_total_bytes GC_PROTO(())
return ((size_t) WORDS_TO_BYTES(GC_words_allocd+GC_words_allocd_before_gc));
}
+int GC_get_suspend_signal GC_PROTO(())
+{
+#ifdef SIG_SUSPEND
+ return SIG_SUSPEND;
+#else
+ return -1;
+#endif
+}
+
GC_bool GC_is_initialized = FALSE;
void GC_init()