GGist / bip-rs

BitTorrent Infrastructure Project In Rust
Apache License 2.0
296 stars 33 forks source link

Extract Optimistic Mutex Future Into A Separate Crate #108

Open GGist opened 7 years ago

GGist commented 7 years ago

Unless a better solution comes along for N way locking in a future, I think this would remain useful for us.

Updating the architecture to where we avoid this synchronization would actually be more painful in many cases, and the alternative is to not allow many of our manager (disk/peer/handshake) sinks to be cloneable (which is painful for clients to deal with).

GGist commented 7 years ago

Ref #107 where we added such code.