Rust concurrency patterns: condvars and locks
I’ve spent quite a lot of time extolling the virtues of message-passing in concurrent Rust.
However, there are times when shared-state is the right approach, sometimes just because it’s the historical approach chosen in a module and you want to add something to it without refactoring the whole thing.
https://medium.com/@polyglot_factotum/rust-concurrency-patterns-condvars-and-locks-e278f18db74f
1
共 0 条评论, 1 页
评论区
写评论还没有评论