-
Junior Member
-
Junior Member
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
-
Forum Rules