pub fn scavenger_stop()Expand description
Stop the background scavenger thread (issue #272).
It restarts on demand (the next park_while_idle, or the next thread that
initializes), so this is a way to quiesce it – e.g. before a fork/exec that counts
threads, or in a test – not a way to disable it permanently. For that, set the
scavenger option to 0 (MIMALLOC_SCAVENGER=0) before the first allocation.