Recent questions tagged critical-section

0 votes
1 answer
1
How to approach synchronization (specifically semaphore) question, there size are really intimidating and i’m unable to decode the code written? What to do??
0 votes
2 answers
2
Sorry if this is a stupid question. But it really intrigued me. Same resources at different algorithms are telling different ways to test these stuffs.Here's an algorith...
0 votes
0 answers
6
Many problems on gateoverflow asks whether the given code satisfies progress requirement of the solution for the critical section problem. Most of these code contain mult...
0 votes
0 answers
14
Is context switch allowed when a process is in the cirtical section? (Not preemption)If yes then how it deals with data inconsistency?
0 votes
1 answer
23
In a given synchronization construct, if there is no deadlock and no strict alternation between two process then is it always true that a process will starve ?