[At the end of chapter 16, section 3](https://doc.rust-lang.org/nightly/book/second-edition/ch16-03-shared-state.html#similarities-between-refcelltrct-and-mutextarct), the Rust book speak about the possibility to create deadlock with Mutex/Arc association. Take a look at the documentation and create an example.