diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs index 5ca0604b4..751fa683f 100644 --- a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs +++ b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.Windows.cs @@ -186,7 +186,7 @@ namespace System.Threading if ((safeWaitHandle != null) && !safeWaitHandle.IsInvalid) { - Interop.mincore.SetEvent(safeWaitHandle); + Interop.Kernel32.SetEvent(safeWaitHandle); } } @@ -326,7 +326,7 @@ namespace System.Threading private static RegisteredWaitHandle RegisterWaitForSingleObject( WaitHandle waitObject, WaitOrTimerCallback callBack, - Object state, + object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, bool flowExecutionContext) |