diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2014-05-14 02:49:10 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2014-05-14 03:10:57 +0400 |
commit | 0d368edf3fff60bb30436914b382661e8bfcad2c (patch) | |
tree | 68783cbc6b73e21ea00b71cc452b1ea8b95d0abf /libgc/misc.c | |
parent | c60aaa3af68c4630480af085f344e94c8b4561fb (diff) |
[boehm] Implement mono_gc_get_restart_signal.
Diffstat (limited to 'libgc/misc.c')
-rw-r--r-- | libgc/misc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libgc/misc.c b/libgc/misc.c index 53d47c53dbc..3fa00a8b063 100644 --- a/libgc/misc.c +++ b/libgc/misc.c @@ -480,6 +480,17 @@ int GC_get_suspend_signal GC_PROTO(()) #endif } +int GC_get_restart_signal GC_PROTO(()) +{ +#if defined(SIG_THR_RESTART) && defined(GC_PTHREADS) && !defined(GC_MACOSX_THREADS) && !defined(GC_OPENBSD_THREADS) + return SIG_THR_RESTART; +#else + return -1; +#endif +} + + + GC_bool GC_is_initialized = FALSE; void GC_init() |