Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2017-01-06 01:03:56 +0300
committerJose Perez Rodriguez <joperezr@microsoft.com>2017-01-06 01:03:56 +0300
commit44b68e694948065c1b61457cec125d3d64c1fa22 (patch)
treefc7093fb753c57f29ce42de9dd64ecc435d2e95c /src/System.Threading.ThreadPool
parentd4d3bbdf7b8b35b5a330c94427051582470531d0 (diff)
parent05ae65fd6b51f865750e8d400c60511fcdbbbfb5 (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.cs2
-rw-r--r--src/System.Threading.ThreadPool/tests/ThreadPoolTests.cs3
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()