for more information about deadlocking, see 有關死鎖的詳細信息,請參閱
although difficult to detect and hash out in every case, by following these few rules, a system s design can be free of deadlocking scenarios 雖然要探測或推敲各種情況是非常困難的,但只要按照下面幾條規(guī)則去設計系統(tǒng),就能夠避免死鎖問題:
deadlocking is a classic multithreading problem in which all work is incomplete because different threads are waiting for locks that will never be released 死鎖是一個經(jīng)典的多線程問題,因為不同的線程都在等待那些根本不可能被釋放的鎖,從而導致所有的工作都無法完成。