semaphore is
Answers were Sorted based on User's Feedback
Answer / arpit
variable used for synchronization of multiple processes
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vardhan
"A semaphore restricts the number of simultaneous users of
a shared resource up to a maximum number. Threads can
request access to the resource (decrementing the
semaphore), and can signal that they have finished using
the resource (incrementing the semaphore)."
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / siddesh
A SEMAPHORE is a technique used for avoiding shared data
problems in case of RTOS.
Is This Answer Correct ? | 1 Yes | 0 No |
What is sudo user?
What is cascading termination?
Define and explain COM?
What is NOS?
Define die threading and tapping.
What is multi tasking, multi programming and multi threading?
what is batch programming in DOS?
Explain the difference between a MONOLITHIC KERNAL and a MICROKERNAL?
Which is better internet explorer or edge?
Why is 64 bit called x86?
Measurements of a certain system have shown that the average process runs for a time T before blocking on I/O. A process switch requires a time S, which is effectively wasted (overhead). The CPU’s efficiency is the fraction of its time its spends executing user programs, i.e., executing user processes. For round robin scheduling with quantum Q, give a formula for the CPU efficiency for each of the following: (a) Q = ∞ (b) Q > S + T (c) S <Q<S + T (d) Q = S
What do you mean by Belady's Anomaly. - Describe with example.