11 references to UnsafeQueueUserWorkItemInternal
System.Private.CoreLib (11)
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)
2593
ThreadPool.
UnsafeQueueUserWorkItemInternal
(stateMachineBox, preferLocal: true);
3612
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)
57
ThreadPool.
UnsafeQueueUserWorkItemInternal
(task, (options & TaskCreationOptions.PreferFairness) == 0);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (2)
1891
UnsafeQueueUserWorkItemInternal
((object)state!, preferLocal);
1928
UnsafeQueueUserWorkItemInternal
(callBack!, preferLocal);
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
268
ThreadPool.
UnsafeQueueUserWorkItemInternal
(timer, preferLocal: false);