13 references to UnsafeQueueUserWorkItemInternal
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (1)
139
ThreadPool.
UnsafeQueueUserWorkItemInternal
(box, preferLocal: false);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
351
ThreadPool.
UnsafeQueueUserWorkItemInternal
(workItem, preferLocal: !fairly);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
2671
ThreadPool.
UnsafeQueueUserWorkItemInternal
(stateMachineBox, preferLocal: true);
3696
ThreadPool.
UnsafeQueueUserWorkItemInternal
(new CompletionActionInvoker(completionAction, this), preferLocal: true);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (3)
584
ThreadPool.
UnsafeQueueUserWorkItemInternal
(this, preferLocal: true);
786
ThreadPool.
UnsafeQueueUserWorkItemInternal
(box, preferLocal: true);
821
ThreadPool.
UnsafeQueueUserWorkItemInternal
(atc, preferLocal: true);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ThreadPoolTaskScheduler.cs (1)
58
ThreadPool.
UnsafeQueueUserWorkItemInternal
(task, (options & TaskCreationOptions.PreferFairness) == 0);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (2)
1646
UnsafeQueueUserWorkItemInternal
((object)state, preferLocal);
1683
UnsafeQueueUserWorkItemInternal
(callBack, preferLocal);
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
268
ThreadPool.
UnsafeQueueUserWorkItemInternal
(timer, preferLocal: false);
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (2)
409
ThreadPool.
UnsafeQueueUserWorkItemInternal
(this, preferLocal: true);
656
ThreadPool.
UnsafeQueueUserWorkItemInternal
(this, preferLocal: true);