parent
9a2086081c
commit
59833f2a55
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue