2005-03-03 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / gc-internal.h
index 00943c425acee7c4d1cb41a2f59af6bbd8a26c80..c4dd4dd805bdf74e333692e2d105983d1ddf5e86 100644 (file)
@@ -29,6 +29,13 @@ extern void mono_gc_init (void);
 extern void mono_gc_cleanup (void);
 extern void mono_gc_enable (void);
 extern void mono_gc_disable (void);
+
+/*
+ * Return whenever the current thread is registered with the GC (i.e. started
+ * by the GC pthread wrappers on unix.
+ */
+extern gboolean mono_gc_is_gc_thread (void);
+
 /* only valid after the RECLAIM_START GC event and before RECLAIM_END
  * Not exported in public headers, but can be linked to (unsupported).
  */