google / comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
https://google.github.io/comprehensive-rust/
Apache License 2.0
27.61k stars 1.64k forks source link

Dining Philosophers execise solution in 67.3 is Livelock.Why not use the same idea of 62.3? #2368

Closed xiaohu-zhang closed 1 week ago

xiaohu-zhang commented 1 week ago

Discussed in https://github.com/google/comprehensive-rust/discussions/2367

Originally posted by **xiaohu-zhang** September 16, 2024 Dining Philosophers execise solution in 67.3 is Livelock.Why not use the same idea of 62.3?
xiaohu-zhang commented 1 week ago

no problem.I will pull a pr to fix it.

xiaohu-zhang commented 1 week ago

I push a pr:https://github.com/google/comprehensive-rust/pull/2372 please check it ,thank you

mgeisler commented 1 week ago

Thanks for fixing this!