8[UnsupportedOSPlatform(
"browser")]
142 Callback = callbackHelper;
172 bool success =
false;
static void SuppressFinalize(object obj)
void DangerousAddRef(ref bool success)
IntPtr DangerousGetHandle()
static int CompareExchange(ref int location1, int value, int comparand)
static int Exchange(ref int location1, int value)
void CompleteCallbackRequest()
PortableThreadPool.? WaitThread WaitThread
static AutoResetEvent RentEvent()
void SetNativeRegisteredWaitHandle(IntPtr nativeRegisteredWaitHandle)
RegisteredWaitHandle(WaitHandle waitHandle, _ThreadPoolWaitOrTimerCallback callbackHelper, int millisecondsTimeout, bool repeating)
void SignalUserWaitHandle()
static bool IsValidHandle(IntPtr handle)
bool Unregister(WaitHandle waitObject)
bool UnregisterPortable(WaitHandle waitObject)
bool _signalAfterCallbacksComplete
static AutoResetEvent s_cachedEvent
static bool UnregisterWaitNative(IntPtr handle, SafeHandle waitObject)
int _numRequestedCallbacks
SafeWaitHandle? UserUnregisterWaitHandle
static IntPtr InvalidHandleValue
static void ReturnEvent(AutoResetEvent resetEvent)
IntPtr _nativeRegisteredWaitHandle
AutoResetEvent _callbacksComplete
IntPtr UserUnregisterWaitHandleValue
void PerformCallback(bool timedOut)
static readonly LowLevelLock s_callbackLock
static void WaitHandleCleanupNative(IntPtr handle)
static readonly bool UsePortableThreadPool
virtual void Dispose(bool explicitDisposing)
SafeWaitHandle SafeWaitHandle
virtual bool WaitOne(int millisecondsTimeout)
static void PerformWaitOrTimerCallback(_ThreadPoolWaitOrTimerCallback helper, bool timedOut)
static readonly IntPtr Zero