mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
suppres eager commit delay for the first 4 threads
This commit is contained in:
parent
d2de66b8fa
commit
f9ac60a90f
3 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue