3 writes to _availableThreads
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
1462
var count = Volatile.Read(ref
_availableThreads
);
1465
var prev = Interlocked.CompareExchange(ref
_availableThreads
, count - 1, count);
1487
Interlocked.Increment(ref
_availableThreads
);