diff options
author | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-06 01:03:56 +0300 |
---|---|---|
committer | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-06 01:03:56 +0300 |
commit | 44b68e694948065c1b61457cec125d3d64c1fa22 (patch) | |
tree | fc7093fb753c57f29ce42de9dd64ecc435d2e95c /src/System.Threading.ThreadPool | |
parent | d4d3bbdf7b8b35b5a330c94427051582470531d0 (diff) | |
parent | 05ae65fd6b51f865750e8d400c60511fcdbbbfb5 (diff) |
Merge branch master into dev/eng
Diffstat (limited to 'src/System.Threading.ThreadPool')
-rw-r--r-- | src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs | 2 | ||||
-rw-r--r-- | src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs b/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs index f615cd2879..e74a38807e 100644 --- a/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs +++ b/src/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs @@ -32,7 +32,7 @@ namespace System.Threading public static bool SetMaxThreads(int workerThreads, int completionPortThreads) { throw null; } public static bool SetMinThreads(int workerThreads, int completionPortThreads) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static bool UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { throw null; } + public static unsafe bool UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { throw null; } public static bool UnsafeQueueUserWorkItem(System.Threading.WaitCallback callBack, object state) { throw null; } public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; } public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; } diff --git a/src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs b/src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs index 614f525f70..615e011bef 100644 --- a/src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs +++ b/src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs @@ -108,8 +108,7 @@ namespace System.Threading.ThreadPools.Tests } } - // TODO: Enable this test after CoreCLR packages including the fix for this issue are updated - //[Fact] + [Fact] // Desktop framework doesn't check for this and instead, hits an assertion failure [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework)] public static void SetMinMaxThreadsTest_ChangedInDotNetCore() |