Two operations on a shared value:
P(s) while (s <= 0) {} s--; V(s) s++;
while (s <= 0) {} s--;
s++;
Don’t busy wait; give up the cpu.
Scheduling
Memory
Enter search terms or a module, class or function name.