SpinLock.TryEnter fail fast for timeout 0 (#6952)
authorBen Adams <thundercat@illyriad.co.uk>
Fri, 14 Oct 2016 14:19:41 +0000 (15:19 +0100)
committerJan Kotas <jkotas@microsoft.com>
Fri, 14 Oct 2016 14:19:41 +0000 (07:19 -0700)
commit0855b70b2542de60592cba7fe1c91bedb55566f4
tree0fbd0920733be606c811eb2cc961345696ec1cc4
parent24131889e148c5c4aa326429d904743160c973be
SpinLock.TryEnter fail fast for timeout 0 (#6952)

* SpinLock.TryEnter fail fast for timeout 0 (2)

* Don't over check SpinLock timeout

When 1ms unlikely to have passed
src/mscorlib/src/System/Threading/SpinLock.cs