exocore icon indicating copy to clipboard operation
exocore copied to clipboard

Switch to parking_lot or tokio mutex

Open appaquet opened this issue 5 years ago • 0 comments

When we don't need async, switch to parking_lot's primitives as they don't need to be unwrapped since they panic on poising instead. parking_lot's RWLock also allows upgrading a read lock to write.

When we need async, we should use Tokio's primitives.

appaquet avatar Jun 20 '20 18:06 appaquet