Function rust_htslib::htslib::bgzf_mt [] [src]

pub unsafe extern "C" fn bgzf_mt(
    fp: *mut BGZF,
    n_threads: c_int,
    n_sub_blks: c_int
) -> c_int

Enable multi-threading (only effective when the library was compiled with -DBGZF_MT)

@param fp BGZF file handler; must be opened for writing @param n_threads #threads used for writing @param n_sub_blks #blocks processed by each thread; a value 64-256 is recommended