GetThreadId method

int GetThreadId(
  1. Pointer<Void> Thread
)

Implementation

int GetThreadId(
  ffi.Pointer<ffi.Void> Thread,
) {
  return (_GetThreadId ??= _dylib
      .lookupFunction<_c_GetThreadId, _dart_GetThreadId>('GetThreadId'))(
    Thread,
  );
}