256 views

1 Answer

0 votes
0 votes
This will not occur, I think. As you are entering a critical section, the binary semaphore is already decremented to 0, so wait() cannot be called again on it. So, no deadlock.

Related questions

2 votes
2 votes
2 answers
1
Sunnidhya Roy asked Dec 30, 2022
678 views
Can Safe state in DeadLock Avoidance Mechanism always guarantee No DeadLock??
0 votes
0 votes
1 answer
2
0 votes
0 votes
3 answers
4
Vegeta asked Oct 22, 2018
912 views
All safe states are deadlock free. But we can go to deadlock with some combination of sequence? So if the question is, from the safe state can we enter deadlock? Ans shou...