Skip to main content

start

Function start 

Source
pub fn start() -> bool
Expand description

Starts the background thread, which ends a decay epoch every 5 seconds in all arenas, so that pages free for 5 to 10 seconds go back to the OS even while the process allocates nothing. Returns whether this call started it; it runs until the process exits.

A child process after fork has no such thread and may call this again.

ยงPanics

When the OS cannot create a thread.