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:
authorZoltan Varga <vargaz@gmail.com>2009-10-26 01:01:54 +0300
committerZoltan Varga <vargaz@gmail.com>2009-10-26 01:01:54 +0300
commit7d5bb303821cc0a3d44e8d27c0a00081b64076b8 (patch)
tree7aa48d749149d153d644aff92e7094673af4369a /libgc/include
parent983beab3f9e060010cef4a538c7f59c8cbe1a616 (diff)
In libgc:
2009-10-25 Zoltan Varga <vargaz@gmail.com> * misc.c (GC_get_suspend_signal): New API function to return the suspend signal used by libgc. In mono/mini: 2009-10-25 Zoltan Varga <vargaz@gmail.com> * mini-posix.c (add_signal_handler): Delay the GC suspend signal while executing a SIGSEGV handler on an altstack, since libgc can't handle that. In mono/tests: 2009-10-25 Zoltan Varga <vargaz@gmail.com> * misc.c (GC_get_suspend_signal): New API function to return the suspend signal used by libgc. svn path=/trunk/mono/; revision=144828
Diffstat (limited to 'libgc/include')
-rw-r--r--libgc/include/gc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgc/include/gc.h b/libgc/include/gc.h
index ef3a06c11f5..d77de303e0d 100644
--- a/libgc/include/gc.h
+++ b/libgc/include/gc.h
@@ -424,6 +424,10 @@ GC_API size_t GC_get_bytes_since_gc GC_PROTO((void));
/* Never decreases, except due to wrapping. */
GC_API size_t GC_get_total_bytes GC_PROTO((void));
+/* Return the signal used by the gc to suspend threads on posix platforms. */
+/* Return -1 otherwise. */
+int GC_get_suspend_signal GC_PROTO((void));
+
/* Disable garbage collection. Even GC_gcollect calls will be */
/* ineffective. */
GC_API void GC_disable GC_PROTO((void));