• Kenton Varda's avatar
    Add `Locked<T>::wait()`, an alternate interface to condvars. · 2625589f
    Kenton Varda authored
    This is better than `MutexGuarded<T>::when()` in cases where the caller already has a lock -- `when()` would require unlocking, then immediately locking again (to check the predicate).
    
    Possibly `when()` should be removed in favor of `wait()`.
    2625589f
Name
Last commit
Last update
..
benchmark Loading commit data...
capnp Loading commit data...
kj Loading commit data...
CMakeLists.txt Loading commit data...