Open cleishm opened 6 years ago
The implementation of the CoroutineLatch (https://github.com/ConsenSys/cava/blob/master/concurrent-coroutines/src/main/kotlin/net/consensys/cava/concurrent/coroutines/experimental/CoroutineLatch.kt) is naive, synchronizing on most operations. It would be great to re-implement this using a more efficient algorithm, such as CLH queue locks.
CoroutineLatch
Been moved here: https://github.com/ConsenSys/cava/blob/master/concurrent-coroutines/src/main/kotlin/net/consensys/cava/concurrent/coroutines/CoroutineLatch.kt
The implementation of the
CoroutineLatch
(https://github.com/ConsenSys/cava/blob/master/concurrent-coroutines/src/main/kotlin/net/consensys/cava/concurrent/coroutines/experimental/CoroutineLatch.kt) is naive, synchronizing on most operations. It would be great to re-implement this using a more efficient algorithm, such as CLH queue locks.