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
Is 6 cores enough for streaming?
What is a Kernel?
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....?
How do I boot up my computer?
Can you just explain about memory management in iOS?
When I press power button on laptop nothing happens?
Directories can be implemented either as "special files" that can only be accessed in limited ways, or as ordinary data files. What are the advantages and disadvantages of each approach?
Can we compare two files in notepad ++?
What happens when I reset my computer?
Difference Between Jfs & Jfs2?
Do cores matter for gaming?
How do you restart a crashed laptop?
How many bytes we can send to apple push notification server in iOS operating system?
How many os are there?
What are go channels?