jj_init function

  1. @Native<Bool Function(Int32)>(ffi.Int32)>()
bool jj_init(
  1. int workerThreads
)

Initialises Jolt and the process-wide job system. Safe to call again; the first call picks the thread count. workerThreads < 0 means "cores minus one".

Implementation

@ffi.Native<ffi.Bool Function(ffi.Int32)>()
external bool jj_init(int workerThreads);