0 votes 0 votes Operating System process-synchronization + – atul_21 asked Nov 21, 2017 retagged Nov 22, 2017 by Arjun atul_21 295 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply joshi_nitish commented Nov 21, 2017 reply Follow Share i am getting 9 different values x= {2,3,4,5,6,7,8,9,10} 2 votes 2 votes atul_21 commented Nov 21, 2017 i edited by atul_21 Nov 21, 2017 reply Follow Share Yes this is correct. Can u plz explain this? @joshi_nitish 0 votes 0 votes joshi_nitish commented Nov 22, 2017 reply Follow Share x = x+1 is actually written in 3 steps, r = x; r = r+1; x = r; now apply preemtions at different positions, you will get it. 0 votes 0 votes atul_21 commented Nov 22, 2017 reply Follow Share Can u show me one example? How will u get x=2 ? 0 votes 0 votes Please log in or register to add a comment.