4 ms·
if you expect your lock to uncontended, forcing an exchange might be better. You can then switch to the test and test and set pattern of failure.
by gpderetta 7y ago
if you expect your lock to uncontended, forcing an exchange might be better. You can then switch to the test and test and set pattern of failure.