6 references to SetCurrentTotal
System.Threading (6)
System\Threading\Barrier.cs (6)
349if (SetCurrentTotal(currentTotal, current, total + participantCount, sense)) 451if (SetCurrentTotal(currentTotal, 0, total - participantCount, !sense)) 459if (SetCurrentTotal(currentTotal, current, total - participantCount, sense)) 669if (SetCurrentTotal(currentTotal, 0, total, !sense)) 679else if (SetCurrentTotal(currentTotal, current + 1, total, sense)) 739if (SetCurrentTotal(currentTotal, current - 1, total, sense))