14 references to ParallelLoopStateNone
System.Threading.Tasks.Parallel (14)
System\Threading\Tasks\Parallel.cs (8)
1049
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags == ParallelLoopStateFlags.
ParallelLoopStateNone
// fast path check as SEL() doesn't inline
1059
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags == ParallelLoopStateFlags.
ParallelLoopStateNone
// fast path check as SEL() doesn't inline
1070
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags == ParallelLoopStateFlags.
ParallelLoopStateNone
// fast path check as SEL() doesn't inline
1089
((sharedPStateFlags.LoopStateFlags == ParallelLoopStateFlags.
ParallelLoopStateNone
) ||
1136
result._completed = (sb_status == ParallelLoopStateFlags.
ParallelLoopStateNone
);
1148
if (sb_status == ParallelLoopStateFlags.
ParallelLoopStateNone
)
2711
if (sharedPStateFlags.LoopStateFlags != ParallelLoopStateFlags.
ParallelLoopStateNone
)
2773
result._completed = (sb_status == ParallelLoopStateFlags.
ParallelLoopStateNone
);
System\Threading\Tasks\ParallelLoopState.cs (6)
188
int oldValue = ParallelLoopStateFlags.
ParallelLoopStateNone
;
297
private volatile int _loopStateFlags =
ParallelLoopStateNone
;
329
AtomicLoopStateUpdate(ParallelLoopStateExceptional,
ParallelLoopStateNone
);
345
return (AtomicLoopStateUpdate(ParallelLoopStateCanceled,
ParallelLoopStateNone
));
398
return (flags !=
ParallelLoopStateNone
&& (
408
return ((flags !=
ParallelLoopStateNone
) && ((flags & (ParallelLoopStateExceptional | ParallelLoopStateCanceled)) != 0));