summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2021-11-12 19:03:20 -0800
committerdaan <daanl@outlook.com>2021-11-12 19:03:20 -0800
commitf9ac60a90ffcaacf576920508431d6fa7f3c92e4 (patch)
tree7e9b9534b3a4161fdc88df77e2c23c829e5bb642 /include/mimalloc-internal.h
parentd2de66b8fabc95fcba2dfd5e4f8a9c3004eb78c7 (diff)
suppres eager commit delay for the first 4 threads
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 5c716a7..a2549f7 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -63,6 +63,7 @@ static inline uintptr_t _mi_random_shuffle(uintptr_t x);
extern mi_decl_cache_align mi_stats_t _mi_stats_main;
extern mi_decl_cache_align const mi_page_t _mi_page_empty;
bool _mi_is_main_thread(void);
+size_t _mi_current_thread_count(void);
bool _mi_preloading(void); // true while the C runtime is not ready
// os.c