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);

Implementations

Returns Management Information Base (MIB)

This value can be used to access the key without doing string lookup.

Key [::keys::Name].

Reads value using string API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.