Skip to main content

apply

Function apply 

Source
pub fn apply() -> bool
Expand description

Cap the arenas and pin the mmap threshold. The cap has to run before the first thread is spawned: a thread already attached to an arena keeps it, so this is the first thing main does, ahead of building the runtime. Returns whether the cap was set.