From 59833f2a5559a60beec3c44ad50b8c03058b23e4 Mon Sep 17 00:00:00 2001 From: code-cp <106009933+code-cp@users.noreply.github.com> Date: Sun, 28 Jul 2024 18:46:20 +0800 Subject: [PATCH] Update 06_async_aware_primitives.md (#122) Fix a typo --- book/src/08_futures/06_async_aware_primitives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/08_futures/06_async_aware_primitives.md b/book/src/08_futures/06_async_aware_primitives.md index af52682..9360647 100644 --- a/book/src/08_futures/06_async_aware_primitives.md +++ b/book/src/08_futures/06_async_aware_primitives.md @@ -52,7 +52,7 @@ Yields to runtime Tries to acquire lock ``` -We have a deadlock. Task B we'll never manage to acquire the lock, because the lock +We have a deadlock. Task B will never manage to acquire the lock, because the lock is currently held by task A, which has yielded to the runtime before releasing the lock and won't be scheduled again because the runtime cannot preempt task B. -- 2.45.2