SetThreadPriorityBoost method

int SetThreadPriorityBoost(
  1. Pointer<Void> hThread,
  2. int bDisablePriorityBoost
)

Implementation

int SetThreadPriorityBoost(
  ffi.Pointer<ffi.Void> hThread,
  int bDisablePriorityBoost,
) {
  return (_SetThreadPriorityBoost ??= _dylib.lookupFunction<
      _c_SetThreadPriorityBoost,
      _dart_SetThreadPriorityBoost>('SetThreadPriorityBoost'))(
    hThread,
    bDisablePriorityBoost,
  );
}