Assume that X = 90, Y = 100, N = 12, M = 8.
Show the the results by executing the following interleaved transactions. Are the results correct
Explain your results
Time Transaction1 Transaction2
1 READ(X)
2 X:=X-N
3 READ(X)
4 X:=X+M
5 WRITE(X)
6 READ(Y)
7 WRITE(X)
8 Y:=Y+N
9 WRITE(Y)

lee reeno (ريم خليل)المواقع والبرامج-الكمبيوتر والإنترنت


أكثر...