PART III TRANSACTIONS

Chapter 17 Composite operations

Objectives

To extend the study of atomic operations to those which comprise lower level atomic operations. To study the problems deriving from concurrent execution and crashes.

Points to emphasise

Possible difficulties

The conceptual difficulty lies in considering levels of atomicity. In Part II we constructed atomic operations from a number of machine instructions. We are now constructing higher level atomic operations from atomic operations. Why are the problems different? Because we do not execute (implement) the high level composite operation as a single atomic operation but allow the execution of its components to be interleaved.

The material should be straightforward at a superficial level as it is just setting up problems that we have to solve.

Teaching hints