Skip to content

Commit 8b57d0c

Browse files
Update p5-deadlock.md
1 parent f0d8efc commit 8b57d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lec12/p5-deadlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ lock(L2); lock(L1);
272272
- $P_i$要求的资源 $\le$ 当前可用资源 $+$ 所有$P_j$ 持有资源,其中$j<i$
273273
- 如$P_i$的资源请求不能立即分配,则$P_i$等待所有$P_j (j<i)$完成
274274
- $P_i$完成后,$P_{i+1}$可得到所需资源,执行完并释放所分配的资源
275-
- 最终整个序列的所有Pi都能获得所需资源
275+
- 最终整个序列的所有$P_i$都能获得所需资源
276276

277277

278278
---

0 commit comments

Comments
 (0)