Fix deadlock in xthread test when one thread falls too far behind.
I guess this is particularly likely to happen when the threads are sharing a single core, which is probably common in CI services, explaining why I had trouble reproducing on my own hardware.
Showing
Please
register
or
sign in
to comment