2 ms·
The exception I guess is when paired with a condition variable, since CV waits are not guaranteed spurious and necessarily must be combined with another conditi
by ComputerGuru 7y ago
The exception I guess is when paired with a condition variable, since CV waits are not guaranteed spurious and necessarily must be combined with another condition. The caveat being that the variable being tested upon wake must not be modified without the lock held (presumably to prevent reordering).