[理工] 103清大計系OS process同步

作者: opponents (滅殺十億支那賤畜)   2020-12-22 14:15:34
這個要怎麼看有沒有deadlock,看了解答還是不知道
https://i.imgur.com/lUmwDre.jpg
作者: mathtsai (mathtsai)   2020-12-22 14:22:00
你寫卡的地方應該滿清楚了?
作者: opponents (滅殺十億支那賤畜)   2020-12-22 14:36:00
這不是我寫的,他寫這樣我還是不知道怎麼看
作者: alex391a (麥基)   2020-12-22 14:53:00
這題就是只要第一個申請一樣就才會deadlock free 因為後申請的才會卡住等他做完 其他都有可能deadllock 機率是1/3

Links booklink

Contact Us: admin [ a t ] ucptt.com