Skip to main content

死锁

背景

了解死锁相关内容

System Deadlocks E. G. COFFMAN, JR.

This deadlock situation has arisen only
because all of the following general conditions were operative:
1) Tasks claim exclusive control of the resources they require ("mutual exclusion" condition).
2) Tasks hold resources already allocated to them while waiting for additional resources ("wait for" condition).
3) Resources cannot be forcibly removed from the tasks holding them until the resources are used to completion ("no preemption" condition).
4) A circular chain of tasks exists, such that each task holds one or more resources that are being requested by the next task in the chain ("circular wait" condition)

相关阅读