Timeouts were once necessary when the SpinLock Unlock used an atomic store and could therefore have a race and a missed wakeup, however, the Unlock path now uses an atomic exchange, so the missed wakeup cannot happen. Fixes #1179 PiperOrigin-RevId: 452047517 Change-Id: I844944879b51b7f7ddac148e063a376cddd0d05apull/1194/head
parent
ea78ded7a5
commit
a4cc270df1
1 changed files with 2 additions and 5 deletions
Loading…
Reference in new issue