diff --git a/src/advance/concurrency-with-threads/sync1.md b/src/advance/concurrency-with-threads/sync1.md index 168776ba..a37ac58a 100644 --- a/src/advance/concurrency-with-threads/sync1.md +++ b/src/advance/concurrency-with-threads/sync1.md @@ -350,7 +350,7 @@ fn main() { 线程 0 锁住了MUTEX1,接着准备去锁MUTEX2 ! 线程 1 锁住了MUTEX2, 准备去锁MUTEX1 线程 1 获取 MUTEX1 锁的结果: Err("WouldBlock") -线程 0 获取MUTEX2锁的结果: Ok(0) +线程 0 获取 MUTEX2 锁的结果: Ok(0) 死锁没有发生 ```