Update 06_async_aware_primitives.md (#122)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled

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

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.