하루의 대학원 도전기

[OS] structure of semaphore 본문

운영체제

[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

'운영체제' 카테고리의 다른 글

[OS] Concurrency vs. Parallelism  (0) 2021.10.21
[OS] wait and signal  (0) 2021.10.20
[OS] compare_and_swap () instruction ( atomic )  (0) 2021.10.19
[OS] fork()  (0) 2021.10.19
[OS] Segment Registers  (0) 2021.10.15