return GC_gc_no;
}
+void
+mono_gc_stop_world ()
+{
+ g_assert ("mono_gc_stop_world is not supported in Boehm");
+}
+
+void
+mono_gc_restart_world ()
+{
+ g_assert ("mono_gc_restart_world is not supported in Boehm");
+}
+
/**
* mono_gc_add_memory_pressure:
* \param value amount of bytes
/* heap walking is only valid in the pre-stop-world event callback */
MONO_API int mono_gc_walk_heap (int flags, MonoGCReferences callback, void *data);
+/*
+ * Only supported under SGen. These two with Sgen will take and release the LOCK_GC
+ */
+void mono_gc_stop_world (void);
+void mono_gc_restart_world (void);
+
MONO_END_DECLS
#endif /* __METADATA_MONO_GC_H__ */