Results 1 to 2 of 2

Thread: semaphore

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    semaphore

    what is semaphore?


  2. #2
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    Re: semaphore

    Each process executes in an area called critical region. Operating system allows one process to execute at a time in critical region. For this purpose operating system use a binary variable called Semaphore to check if any process is getting executed in critical region. When one process starts execution, OS set the Semaphore value to 1 when there is no process in critical region then Semaphore value is set to 0.


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