tree: 8562cb6f2b5a75f4a2e799e445c4ff974d246edf [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. OWNERS
  5. README.md
src/lib/cutex/README.md

Cutex

A Rust async mutex that: - is fair under contention - can be conditionally acquired via a ‘lock_when(predicate)’ function

Before locking, a waiters predicate is checked and if the predicate is not true that waiter stays waiting in the same place in the waiter queue.