6 references to SetCurrentTotal
System (6)
sys\system\threading\Barrier.cs (6)
372if (SetCurrentTotal(currentTotal, current, total + participantCount, sense)) 480if (SetCurrentTotal(currentTotal, 0, total - participantCount, !sense)) 488if (SetCurrentTotal(currentTotal, current, total - participantCount, sense)) 680if (SetCurrentTotal(currentTotal, 0, total, !sense)) 692else if (SetCurrentTotal(currentTotal, current + 1, total, sense)) 754if (SetCurrentTotal(currentTotal, current - 1, total, sense))