-
Contributing Member
Semaphore in UNIX
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
-
Contributing Member
Re: Semaphore in UNIX
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
-
Expert Member
Re: Semaphore in UNIX
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules