Struct tikv_jemalloc_ctl::opt::background_thread [−][src]
pub struct background_thread;
Expand description
jemalloc
’s default initialization behavior for background threads.
jemalloc
automatically spawns background worker threads on
initialization (first jemalloc
call) if this option is enabled. By
default this option is disabled - malloc_conf=background_thread:true
changes its default.
Examples
use tikv_jemalloc_ctl::opt; let background_thread = opt::background_thread::read().unwrap(); println!("background threads since initialization: {}", background_thread);