1 write to CurrentPhaseNumber
System (1)
sys\system\threading\Barrier.cs (1)
851
CurrentPhaseNumber
= CurrentPhaseNumber + 1;
10 references to CurrentPhaseNumber
System (10)
sys\system\threading\Barrier.cs (10)
377
long currPhase =
CurrentPhaseNumber
;
665
phase =
CurrentPhaseNumber
;
673
if (current == 0 && sense != (
CurrentPhaseNumber
% 2 == 0))
685
CdsSyncEtwBCLProvider.Log.Barrier_PhaseFinished(sense,
CurrentPhaseNumber
);
718
if (phase <
CurrentPhaseNumber
)
743
if (phase <
CurrentPhaseNumber
|| sense != newSense)
750
Debug.Assert(phase <
CurrentPhaseNumber
);
851
CurrentPhaseNumber =
CurrentPhaseNumber
+ 1;
877
while (!currentPhaseEvent.IsSet &&
CurrentPhaseNumber
- observedPhase <= 1)
898
while (observedPhase ==
CurrentPhaseNumber
)