Problem 4) Given the following code segments, what combination of values for (u,v,w,x) are NOT allowed by SC? In each ca
Posted: Sun May 15, 2022 11:59 am
Problem 4) Given the following code segments, what combination of values for (u,v,w,x) are NOT allowed by SC? In each case, do TSO, PSO, PC, RC and WO models preserve SC semantics without any additional synchronization? Assume that all variables had the value o before the code fragment was reached. i. P1 P2 A= 1 B = 1 U=A V=B w=B x =A ii. P1 P3 A= 1 B = 1 C = 1 C = 2 u=C V=C W = B X=A