current position:Home>Does anyone understand why the first process will operate through P and the second process will block at p?

Does anyone understand why the first process will operate through P and the second process will block at p?

2022-02-04 16:50:08 CSDN Q & A

img




Take the answer :

rw Resources are provided only to p1 use ,p2 To call rw Resources can only wait p1 Unlock after use , stay rw It will be blocked there before unlocking


copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/02/202202041650069219.html

Random recommended