Skip to main content

mcl_init

Function mcl_init 

Source
pub unsafe extern "C" fn mcl_init(
    num_workers: u64,
    flags: u64,
) -> c_int
Expand description

@brief Initialize MCL @ingroup General

@param num_workers Number of concurrent workers will pull and execute tasks from the queue @param flags Either 0 or MCL_SET_BIND_WORKERS to bind worker threads to CPUs @return int 0 on success, non-zero otherwise