Answer Posted / mahi 27
"semaphore " is an integer value that provide signalling
among the process
and it is an synchronization tool
semaphores are proposed by "DIJKSTRA"
generally semaphores are divided into 2 types
they are 1.General semaphore(or)counting semaphore
2.Binary semaphore(or)Mutex
in general semaphores 2 primitives are used they are
1.semwait(s)
2.semsignal(s)
semwait() checks decrements the semaphore value if the value
becomes negative then the process executing the semwait()is
blocked other wise the process continues execution
semsignal() increments the semaphore value if the value is
less than or equal to zero then a process blocked by a
semwait()operation is unblocked
| Is This Answer Correct ? | 18 Yes | 9 No |
Post New Answer View All Answers
Can we compare two files in notepad ++?
Give some examples of use of thread in a single user multiprocessing system
Explain the term shell.
How do you reset your computer?
Can yum install rpm?
Explain about memory management in operating system.
Is the higher the ghz the better?
How can I clean up my computer?
How do I upgrade my operating system?
How can I increase storage on my laptop?
What is the best free operating system?
Is google an operating system?
Which processor is better amd or intel?
How do I run wget?
Why is android better than ios?