Critical section variable value bounds
Filed under Oppo R&D
The question
Given a critical section where two processes can enter at the same time executing read a; a = a + 10; write a; with an initial value of a = 200, determine the minimum and maximum possible final values of variable a.
No write-up yet. Related questions below have one.
Related Oppo R&D questions
Collected from public candidate posts and coding forums. Updated Nov 2026.