Fix `Rwlock::acquire_write_lock` to avoid blocking indefinitely.
Without this fix, `tests/bins_static/pthread/rwlock_randtest` would sometimes get stuck blocking forever with only 1+ threads all doing `pthread_rwlock_wrlock()` but all the other threads having finished.
Loading
Please register or sign in to comment