Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 432cd0b

Browse files
authored
Expose generic UnsafeQueueUserWorkItem (#21125)
1 parent b526aff commit 432cd0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,8 +1326,7 @@ public static bool QueueUserWorkItem<TState>(Action<TState> callBack, TState sta
13261326
return true;
13271327
}
13281328

1329-
// TODO: https://github.com/dotnet/corefx/issues/32547. Make public.
1330-
internal static bool UnsafeQueueUserWorkItem<TState>(Action<TState> callBack, TState state, bool preferLocal)
1329+
public static bool UnsafeQueueUserWorkItem<TState>(Action<TState> callBack, TState state, bool preferLocal)
13311330
{
13321331
if (callBack == null)
13331332
{

0 commit comments

Comments
 (0)