Consider following code
wait (s) : while not (s > 0) do keep testing s : s - 1 Signal(s) : s = s + 1 if value of s is - 2. And a process P executes first instruction, then which of the following is true?
Reveal answer
Fill a bubble to check yourself