libsais_unbwt_create_ctx_omp

Function libsais_unbwt_create_ctx_omp 

Source
pub unsafe extern "C" fn libsais_unbwt_create_ctx_omp(
    threads: i32,
) -> *mut c_void
Expand description

Creates the libsais reverse BWT context that allows reusing allocated memory with each parallel libsais_unbwt_* operation using OpenMP.In multi-threaded environments, use one context per thread for parallel executions.

§Arguments

  • threads - The number of OpenMP threads to use (can be 0 for OpenMP default).

§Returns

the libsais context, NULL otherwise.