If semaphore variable is 8 after 6 wait operations and 3
signal operations.what is semaphore
Answer Posted / deepika
let us assume semaphore value to be x before these operations.
Then 6 wait operations reduce its value by 6. So
new value of semaphore = x-6
3 signal operation increases the value by 3. So
new value is now = x-6+3
= x-3
But new value is 8. Thus
x-3=8
x=11
Hence our answer and semaphore value is 11.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
what are latest technologies ? and how will keep yourself up to date ?
Is deepin os stable?
How do I merge folders on mac?
What are Odm Commands.
Is google an operating system?
Can I install chrome os on my laptop?
What are the Types Of Vg & Explain About Them?
How do I clean up and speed up my computer?
What is difference between kernel and os?
What's the best operating system?
What is the name of first operating system?
How do you crash a computer?
Why is android better than ios?
What do you mean by Run time Errors?
Explain the term shell.