From 432cd0bc1410a1d2e721f729f93cbd27744ef354 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Tue, 20 Nov 2018 19:52:08 -0500 Subject: [PATCH] Expose generic UnsafeQueueUserWorkItem (#21125) --- src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs index 564db93..5026003 100644 --- a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs +++ b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs @@ -1326,8 +1326,7 @@ namespace System.Threading return true; } - // TODO: https://github.com/dotnet/corefx/issues/32547. Make public. - internal static bool UnsafeQueueUserWorkItem(Action callBack, TState state, bool preferLocal) + public static bool UnsafeQueueUserWorkItem(Action callBack, TState state, bool preferLocal) { if (callBack == null) { -- 2.7.4