SetThreadPriority method

int SetThreadPriority(
  1. Pointer<Void> hThread,
  2. int nPriority
)

Implementation

int SetThreadPriority(
  ffi.Pointer<ffi.Void> hThread,
  int nPriority,
) {
  return (_SetThreadPriority ??=
      _dylib.lookupFunction<_c_SetThreadPriority, _dart_SetThreadPriority>(
          'SetThreadPriority'))(
    hThread,
    nPriority,
  );
}