Looking for the answer to the question below related to Operating System?
The critical section problem can be solved in numerous ways. What statement is not true?
(a) A test-and-set-lock (TSL) approach is known as a ‘busy-wait’ solution
(b) A ‘busy-wait’ solution is good for short duration critical sections
(c) When a binary semaphore is used and when SLEEP() is called the calling process goes into ‘ready-to -run’ mode
(d) Monitors are more secure than less problematic than semaphores
(e) All tools used to implement CS solutions must have atomic operations.
The Correct Answer Is:
- (c) When a binary semaphore is used and when SLEEP() is called the calling process goes into ‘ready-to -run’ mode
I hope you got the answer to your question.