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
How do I boot up my computer?
What do you know about the latest android version Lollipop?
Can kernel panic be fixed?
What is the g in gnu?
What is the difference between concurrency and parallelism?
What is the first operating system in the world?
What is startup repair on my computer?
How do you restart a crashed laptop?
What os is used at google?
How do I compare files in notepad ++?
When I startup my computer the screen is black?
Which one is the best operating system?
What is gnu os?
How can I clean up my computer?
What is the latest version of google browser?