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
Assuming feedback to the adversary flugging an error as each incorrect character is entered, what is the expected time to discover the correct password?
Can I close my computer while updating?
Is 6 cores enough for streaming?
What is a Kernel?
What is difference between post and patch?
Which intel core is best?
Is go garbage collected?
What are Odm Commands.
What is microsoft spreadsheet compare?
How many bytes we can send to apple push notification server in iOS operating system?
Where can I get a free operating system?
what is gr-edge edit?
what is memory managemant in Win95
What causes a corrupt operating system?
Can you turn on a computer with the keyboard?