5 writes to m_taskScheduler
mscorlib (5)
system\io\stream.cs (1)
545
readWriteTask.
m_taskScheduler
= TaskScheduler.Default;
system\threading\Tasks\Task.cs (3)
595
m_taskScheduler
= scheduler;
1099
if (Interlocked.CompareExchange(ref
m_taskScheduler
, scheduler, null) != null)
1201
if (Interlocked.CompareExchange(ref
m_taskScheduler
, scheduler, null) != null)
system\threading\Tasks\TaskContinuation.cs (1)
349
continuationTask.
m_taskScheduler
= m_taskScheduler;
29 references to m_taskScheduler
mscorlib (29)
system\runtime\compilerservices\TaskAwaiter.cs (2)
251
(currentTaskAtBegin != null ? currentTaskAtBegin.
m_taskScheduler
.Id : TaskScheduler.Default.Id),
276
(currentTaskAtEnd != null ? currentTaskAtEnd.
m_taskScheduler
.Id : TaskScheduler.Default.Id),
system\threading\Tasks\Parallel.cs (14)
255
TplEtwProvider.Log.ParallelInvokeBegin((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
408
TplEtwProvider.Log.ParallelInvokeEnd((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
1101
TplEtwProvider.Log.ParallelLoopBegin((callingTask != null ? callingTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0),
1153
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
1256
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
1322
TplEtwProvider.Log.ParallelLoopEnd((callingTask != null ? callingTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0),
1416
TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
1466
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
1569
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
1635
TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
3230
TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
3291
TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
3454
TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0),
3536
TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.
m_taskScheduler
.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
system\threading\Tasks\Task.cs (10)
1632
get { return
m_taskScheduler
; }
1914
Contract.Assert(
m_taskScheduler
!= null, "expected a task scheduler to have been selected");
1946
m_taskScheduler
.InternalQueueTask(this);
2787
etwLog.TaskStarted(previousTask.
m_taskScheduler
.Id, previousTask.Id, this.Id);
2841
etwLog.TaskCompleted(previousTask.
m_taskScheduler
.Id, previousTask.Id, this.Id, IsFaulted);
3196
if (
m_taskScheduler
== null)
3201
return
m_taskScheduler
.TryRunInline(this, true);
3233
(currentTask != null ? currentTask.
m_taskScheduler
.Id : TaskScheduler.Default.Id), (currentTask != null ? currentTask.Id : 0),
3271
etwLog.TaskWaitEnd(currentTask.
m_taskScheduler
.Id, currentTask.Id, this.Id);
3403
TaskScheduler ts =
m_taskScheduler
;
system\threading\Tasks\TaskContinuation.cs (3)
245
Contract.Assert(task.
m_taskScheduler
!= null);
263
if (!task.
m_taskScheduler
.TryRunInline(task, taskWasPreviouslyQueued: false))
265
task.
m_taskScheduler
.InternalQueueTask(task);