Answer Posted / sri
In programming, especially in Unix systems, semaphores are a
technique for coordinating or synchronizing activities in
which multiple processes compete for the same operating
system resources. A semaphore is a value in a designated
place in operating system (or kernel) storage that each
process can check and then change. Depending on the value
that is found, the process can use the resource or will find
that it is already in use and must wait for some period
before trying again. Semaphores can be binary (0 or 1) or
can have additional values. Typically, a process using
semaphores checks the value and then, if it using the
resource, changes the value to reflect this so that
subsequent semaphore users will know to wait.
Semaphores are commonly use for two purposes: to share a
common memory space and to share access to files. Semaphores
are one of the techniques for interprocess communication
(IPC). The C programming language provides a set of
interfaces or "functions" for managing semaphores.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
iam free downloading the KK Dictionery to my system but that is not installed yet. can anybody tell be why this happen and what the system have to install the software.
What causes a computer not to boot up?
Where can I get a free operating system?
What happens when I reset my computer?
Can you have concurrency but not parallelism?
How do you clear cache on a laptop?
What are the Types Of Vg & Explain About Them?
What do you know about the latest android version Lollipop?
How do I make a pdf file on my laptop?
How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?
How do I change my local disk?
What is the most powerful processor?
What is an example of a network operating system?
Is 6 cores enough for streaming?
What is the best os for laptop?