17.3. Composite operations involving main memory and persistent memory
Examples of areas in which composite operations involve both main memory and persistent memory are database management systems and operating systems. Both have to handle multiple simultaneous activities.
17.3.1. Examples from operating systems
Many examples of composite operations arise within the file management subsystem of an operating system. In order to satisfy a request to write a sequence of bytes to a file an operating system might have to send more than one write request to the disk manager. A crash could occur between these associated writes.
Certain file operations require associated directory operations, as outlined in Chapter 6. When a file is deleted, the disk ...
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.