Semaphore
Semaphore
Semaphore
Barsha Mitra
BITS Pilani CSIS Dept., BITS Pilani, Hyderabad Campus
Hyderabad Campus
Types of Semaphore
• Unnamed semaphores are allocated in process memory and
initialized
• Unnamed semaphores might be usable by more than one process,
depending on how the semaphore is allocated and initialized
• Unnamed semaphores are either private, inherited through fork(),
or are protected by access protections of the regular file in which
they are allocated and mapped.