Results 1 to 3 of 3

Thread: Semaphore in UNIX

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    75

    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


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    72

    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


  3. #3
    Expert Member
    Join Date
    May 2006
    Answers
    114

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact