< 返回版块

Mike Tang 发表于 2019-11-07 12:27

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 页