Hi,
Semaphores are used to coordinate access to a resource by different processes. But I want to know how semaphores get stored inside the operating system and where actually the semaphore resides in UNIX
Regards,
Blenda
Printable View
Hi,
Semaphores are used to coordinate access to a resource by different processes. But I want to know how semaphores get stored inside the operating system and where actually the semaphore resides in UNIX
Regards,
Blenda
Hi,
I know that semaphore is stored in kernel in UNIX operating system. But I do not know the reason why it gets stored there. May be someone would envisage knowledge.
Regards,
Joel
Yes you are correct the semaphore gets stored in kernel the reason lies in the usage of that. That is semaphores are used to coordinate access to a resource by different processes. So for doing this obviously it must be accessible to all processes. This is because of this reason the semaphores are stored in kernel.