|author||Rich Felker <firstname.lastname@example.org>||2014-08-25 20:24:07 -0400|
|committer||Rich Felker <email@example.com>||2014-08-25 20:24:07 -0400|
refrain from spinning on locks when there is already a waiter
if there is already a waiter for a lock, spinning on the lock is essentially an attempt to steal it from whichever waiter would obtain it via any priority rules in place, and is therefore undesirable. in the current implementation, there is always an inherent race window at unlock during which a newly-arriving thread may steal the lock from the existing waiters, but we should aim to keep this window minimal rather than enlarging it.
Diffstat (limited to 'include/float.h')
0 files changed, 0 insertions, 0 deletions