ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329600043_邓小翔 >
2016/11/02_hw_P231T6.1 Version 0
👤 Author: by 514796670qqcom 2016-11-02 08:22:14
(1) Mutual exclusion is ensured through the use of the flag and turn variables. If both processes set their flag to true, only one
will succeed. Namely, the process whose turn it is. The waiting process can only enter its critical section when the other process updates the value of turn.

(2) Progress is provided, again through the flag and turn variables. This algorithm does not provide strict alternation. Rather, if a
process wishes to access their critical section, it can set their fl

Please login to reply. Login

Reversion History

Loading...
No reversions found.