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 many goroutines are in a core?
Difference Between Jfs & Jfs2?
Is i3 good for gaming?
What are compile time Errors?
What is the latest version of google browser?
What os is used at google?
Is the higher the ghz the better?
What is the difference between concurrency and parallelism?
Which processor is better amd or intel?
In the token-passing mutual exclusion algorithm, is the timestamping used to reset clocks and correct drifts, as in the distributed queue algorithms? if not, what is the function of the timestamping?
What is the name of first operating system?
Dear All, When the patches are installed in the server OS, how will we know that which patch is the latest patch?
Do simultaneous downloads take longer?
Is the g in gnu silent?
Is microsoft coming out with a new operating system?