Function jemalloc_ctl::max_background_threads [−][src]
pub fn max_background_threads() -> Result<usize>
Returns the maximum number of background threads that will be created.
extern crate jemallocator; extern crate jemalloc_ctl; #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; fn main() { println!("max_background_threads: {}", jemalloc_ctl::max_background_threads().unwrap()); }