Answer Posted / ragavendran
Semaphores are devices used to help with synchronization. If
multiple processes share a common resource, they need a way
to be able to use that resource without disrupting each
other. You want each process to be able to read from and
write to that resource uninterrupted.
A semaphore will either allow or disallow access to the
resource, depending on how it is set up. One example setup
would be a semaphore which allowed any number of processes
to read from the resource, but only one could ever be in the
process of writing to that resource at a time.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How do I compare plugins in notepad ++?
1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?
What is startup repair on my computer?
What is the difference between the OS which you use and other OSs?
Is google an operating system?
How do you clear cache on a laptop?
What is a Kernel?
What does kernel panic mean?
The flushing policy is described in the subsection on process migration strategies: a) From the perspective of the source, which other strategy does flushing resembles? b) From the perspective of the target, which other strategy does flushing resemble?
What is the first operating system in the world?
Is i3 good for gaming?
How do I boot up my computer?
Can you turn on a computer with the keyboard?
What is the best os for laptop?
Is microsoft coming out with a new operating system?