17.4. Concurrent execution of composite operations

There is scope for concurrency in the execution of high-level, composite operation invocations.

  1. Several high-level operations, invoked by different processes, could be run in parallel, their lower-level operations being interleaved.

  2. It might be possible to invoke the suboperations of a single high-level operation in parallel.

Method 2 cannot be carried out automatically without regard to the semantics of the computation. It might be the case that some of the operations have to be invoked in a specific order. For example, debit might only be allowed after a check-balance operation but credit and debit can be carried out in parallel.

Current database programming languages tend to specify a strict ...

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.