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

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Echterhoff <jonas@unity3d.com>2018-12-28 16:17:38 +0300
committerJonas Echterhoff <jonas@unity3d.com>2018-12-28 16:17:38 +0300
commitf7c06fe0955666c5c924b47315041b876acc7ae7 (patch)
treec5e02fac1f0c06c883d3871ae385b7eed4892b68 /include
parent7ac04cc21846a4f8c8aa8f8483c02814912b0137 (diff)
Add an API to disable incremental GC
Diffstat (limited to 'include')
-rw-r--r--include/gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h
index d9e0bb47..ffb2d37a 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -2033,6 +2033,8 @@ GC_API void GC_CALL GC_win32_free_heap(void);
GC_API void GC_CALL GC_stop_world_external();
GC_API void GC_CALL GC_start_world_external();
+GC_API void GC_CALL GC_disable_incremental(void);
+
/* APIs for getting access to raw GC heap */
/* These are NOT thread safe, so should be called with GC lock held */
typedef void (*GC_heap_section_proc)(void* user_data, GC_PTR start, GC_PTR end);