6 references to SetCurrentTotal
System.Threading (6)
System\Threading\Barrier.cs (6)
349if (SetCurrentTotal(currentTotal, current, total + participantCount, sense)) 455if (SetCurrentTotal(currentTotal, 0, total - participantCount, !sense)) 463if (SetCurrentTotal(currentTotal, current, total - participantCount, sense)) 685if (SetCurrentTotal(currentTotal, 0, total, !sense)) 695else if (SetCurrentTotal(currentTotal, current + 1, total, sense)) 755if (SetCurrentTotal(currentTotal, current - 1, total, sense))