cava icon indicating copy to clipboard operation
cava copied to clipboard

More efficient implementation of CoroutineLatch

Open cleishm opened this issue 7 years ago • 1 comments

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.

cleishm avatar Sep 14 '18 16:09 cleishm

Been moved here: https://github.com/ConsenSys/cava/blob/master/concurrent-coroutines/src/main/kotlin/net/consensys/cava/concurrent/coroutines/CoroutineLatch.kt

atoulme avatar Jan 22 '19 23:01 atoulme