mlugg b866c14328
std: make RwLock test less intensive
This test called `yield` 80,000 times, which is nothing on a system with
little load, but murder on a CI system. macOS' scheduler in particular
doesn't seem to deal with this very well. The `yield` calls also weren't
even necessarily doing what they were meant to: if the optimizer could
figure out that it doesn't clobber some memory, then it could happily
reorder around the `yield`s anyway!

The test has been simplified and made to work better, and the number of
yields have been reduced. The number of overall iterations has also been
reduced, because with the `yield` calls making races very likely, we
don't really need to run too many iterations to be confident that the
implementation is race-free.
2025-10-18 09:28:43 +01:00
..
2025-10-18 09:28:42 +01:00
2025-08-31 12:49:18 -07:00
2025-08-30 06:36:40 +02:00
2025-08-30 06:36:41 +02:00
2025-10-18 09:28:43 +01:00
2025-09-30 13:44:56 +01:00