운영체제

[OS] structure of semaphore

내가하루다 2021. 10. 20. 15:46
728x90

Each semaphore contains an integer value and a pointer to a list of PCBs.

if a semaphore value is negative, its magnitude is the numbger of processes waiting on that semaphore.

728x90