Applying the WT Protocol
•
Consider the transactions
PrRd/--
PrWr/BusWr
PrWr/BusWr
V
I
PrRd/BusRd
BusWr/--
P
1
reads a into its cache
P
3
reads a into its cache
P
1
changes a to 5 and
writes through to main
memory
P
3
sees the action and
invalidates the location
P
2
reads a into its cache
P
1
: I --> V
PrRd/BusRd
P
3
: I --> V
PrRd/BusRd
P
1
: V --> V
PrWr/BusWr
P
3
: V --> I
BusWr/--
P
2
:
I --> V
PrRd/BusRd