Update 06_async_aware_primitives.md (#122)

Fix a typo
This commit is contained in:
code-cp 2024-07-28 18:46:20 +08:00 committed by GitHub
parent 9a2086081c
commit 59833f2a55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Yields to runtime
Tries to acquire lock 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 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. lock and won't be scheduled again because the runtime cannot preempt task B.