Function rust_htslib::htslib::hts_set_threads [] [src]

pub unsafe extern "C" fn hts_set_threads(fp: *mut htsFile, n: c_int) -> c_int

@abstract Create extra threads to aid compress/decompression for this file @param fp The file handle @param n The number of worker threads to create @return 0 for success, or negative if an error occurred. @notes This function creates non-shared threads for use solely by fp. The hts_set_thread_pool function is the recommended alternative.