单选题:Suppose that a process is executing "counter=counter+1" while an
Suppose that a process is executing "counter=counter+1" while another process is executing concurrently and independently "counter=counter-2", where the counter is a variable shared between the two processes and is accessed only by the two statements. Given that the value of counter is 5 before execution, the impossible value after both processes finish their statement is ______ .@[C](1)
A. 3
B. 4
C. 5
D. 6
A.3
B.4
C.5
D.6
答案:C
A. 3
B. 4
C. 5
D. 6
A.3
B.4
C.5
D.6
答案:C