Function blosc_sys::blosc_set_nthreads [] [src]

pub unsafe extern "C" fn blosc_set_nthreads(nthreads: c_int) -> c_int

Initialize a pool of threads for compression/decompression. If nthreads is 1, then the serial version is chosen and a possible previous existing pool is ended. If this is not called, nthreads is set to 1 internally.

Returns the previous number of threads.