2 types derived from ParallelLoopStateFlags
mscorlib (2)
system\threading\Tasks\ParallelLoopState.cs (2)
479
internal class ParallelLoopStateFlags32 :
ParallelLoopStateFlags
545
internal class ParallelLoopStateFlags64 :
ParallelLoopStateFlags
35 references to ParallelLoopStateFlags
mscorlib (35)
system\threading\Tasks\Parallel.cs (19)
1191
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1202
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1214
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1235
((sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE) ||
1301
result.m_completed = (sb_status ==
ParallelLoopStateFlags
.PLS_NONE);
1302
if ((sb_status &
ParallelLoopStateFlags
.PLS_BROKEN) != 0)
1315
if (sb_status ==
ParallelLoopStateFlags
.PLS_NONE)
1317
else if ((sb_status &
ParallelLoopStateFlags
.PLS_BROKEN) != 0)
1507
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1517
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1528
j < nToExclusiveLocal && (sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE // fast path check as SEL() doesn't inline
1548
((sharedPStateFlags.LoopStateFlags ==
ParallelLoopStateFlags
.PLS_NONE) ||
1614
result.m_completed = (sb_status ==
ParallelLoopStateFlags
.PLS_NONE);
1615
if ((sb_status &
ParallelLoopStateFlags
.PLS_BROKEN) != 0)
1628
if (sb_status ==
ParallelLoopStateFlags
.PLS_NONE)
1630
else if ((sb_status &
ParallelLoopStateFlags
.PLS_BROKEN) != 0)
3418
if (sharedPStateFlags.LoopStateFlags !=
ParallelLoopStateFlags
.PLS_NONE)
3509
result.m_completed = (sb_status ==
ParallelLoopStateFlags
.PLS_NONE);
3510
if ((sb_status &
ParallelLoopStateFlags
.PLS_BROKEN) != 0)
system\threading\Tasks\ParallelLoopState.cs (16)
38
private
ParallelLoopStateFlags
m_flagsBase;
40
internal ParallelLoopState(
ParallelLoopStateFlags
fbase)
86
return ((m_flagsBase.LoopStateFlags &
ParallelLoopStateFlags
.PLS_STOPPED) != 0);
98
return ((m_flagsBase.LoopStateFlags &
ParallelLoopStateFlags
.PLS_EXCEPTIONAL) != 0);
196
int oldValue =
ParallelLoopStateFlags
.PLS_NONE;
199
if (!pflags.AtomicLoopStateUpdate(
ParallelLoopStateFlags
.PLS_BROKEN,
200
ParallelLoopStateFlags
.PLS_STOPPED |
ParallelLoopStateFlags
.PLS_EXCEPTIONAL |
ParallelLoopStateFlags
.PLS_CANCELED,
205
if ((oldValue &
ParallelLoopStateFlags
.PLS_STOPPED) != 0)
239
int oldValue =
ParallelLoopStateFlags
.PLS_NONE;
242
if (!pflags.AtomicLoopStateUpdate(
ParallelLoopStateFlags
.PLS_BROKEN,
243
ParallelLoopStateFlags
.PLS_STOPPED |
ParallelLoopStateFlags
.PLS_EXCEPTIONAL |
ParallelLoopStateFlags
.PLS_CANCELED,
248
if ((oldValue &
ParallelLoopStateFlags
.PLS_STOPPED) != 0)