19.3. The definition of serializability and consistency

We defined a transaction as a (possibly composite) atomic operation that is meaningful to the application level: a transaction relates to some given level in an operation hierarchy. A transaction therefore causes the system to move from one consistent state at this level to another. If the possibility of crashes is ignored in the first instance, a consistent system state can be maintained by executing transactions serially.

If one process's transaction is executed to completion before any other can start there is no possibility of interference between them. We would then have made the transaction a single Part II-style indivisible operation (Figure 19.2). Such a procedure (single threading ...

Get Operating Systems: Concurrent and Distributed Software Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.