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
What does root mean in computer terms?
Can yum install rpm?
what is memory managemant in Win95
what is ms configure?
How do you say gnu?
Which one is the best operating system?
Do cores matter for gaming?
What's the best operating system?
Is chrome an operating system?
How do I upgrade my operating system?
Explian T - Factor?
Is kernel a os?
How can I increase storage on my laptop?
How do I compare files in notepad ++?
What does download with adm mean?