InitializeSynchronizationBarrier method

int InitializeSynchronizationBarrier(
  1. Pointer<PRTL_BARRIER> lpBarrier,
  2. int lTotalThreads,
  3. int lSpinCount
)

Implementation

int InitializeSynchronizationBarrier(
  ffi.Pointer<PRTL_BARRIER> lpBarrier,
  int lTotalThreads,
  int lSpinCount,
) {
  return (_InitializeSynchronizationBarrier ??= _dylib.lookupFunction<
          _c_InitializeSynchronizationBarrier,
          _dart_InitializeSynchronizationBarrier>(
      'InitializeSynchronizationBarrier'))(
    lpBarrier,
    lTotalThreads,
    lSpinCount,
  );
}