1 type derived from ParallelLoopStateFlags
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelLoopState.cs (1)
349
internal sealed unsafe class ParallelLoopStateFlags<TInt> :
ParallelLoopStateFlags
21 references to ParallelLoopStateFlags
System.Threading.Tasks.Parallel (21)
System\Threading\Tasks\Parallel.cs (11)
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);
1137
if ((sb_status &
ParallelLoopStateFlags
.ParallelLoopStateBroken) != 0)
1148
if (sb_status ==
ParallelLoopStateFlags
.ParallelLoopStateNone)
1150
else if ((sb_status &
ParallelLoopStateFlags
.ParallelLoopStateBroken) != 0)
2711
if (sharedPStateFlags.LoopStateFlags !=
ParallelLoopStateFlags
.ParallelLoopStateNone)
2773
result._completed = (sb_status ==
ParallelLoopStateFlags
.ParallelLoopStateNone);
2774
if ((sb_status &
ParallelLoopStateFlags
.ParallelLoopStateBroken) != 0)
System\Threading\Tasks\ParallelLoopState.cs (10)
29
private readonly
ParallelLoopStateFlags
_flagsBase;
31
internal ParallelLoopState(
ParallelLoopStateFlags
fbase)
77
return ((_flagsBase.LoopStateFlags &
ParallelLoopStateFlags
.ParallelLoopStateStopped) != 0);
89
return ((_flagsBase.LoopStateFlags &
ParallelLoopStateFlags
.ParallelLoopStateExceptional) != 0);
188
int oldValue =
ParallelLoopStateFlags
.ParallelLoopStateNone;
191
if (!pflags.AtomicLoopStateUpdate(
ParallelLoopStateFlags
.ParallelLoopStateBroken,
192
ParallelLoopStateFlags
.ParallelLoopStateStopped |
ParallelLoopStateFlags
.ParallelLoopStateExceptional |
ParallelLoopStateFlags
.ParallelLoopStateCanceled,
196
if ((oldValue &
ParallelLoopStateFlags
.ParallelLoopStateStopped) != 0)