nstd_thread_count

Function nstd_thread_count 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_thread_count() -> NSTDThreadCountResult
Available on crate feature thread only.
Expand description

Returns the number of recommended threads that a program should use.

ยงReturns

NSTDThreadCountResult threads - The estimated default amount of parallelism a program should use on success, or the I/O error code on failure.