14.9. Multi-threading in clients and servers

When we considered shared-memory-based IPC in Chapter 12 we found that the possibility of dynamic process creation should be taken into account. A child can be created to invoke the service (by procedure call) and the parent can, later, synchronize with the child to receive the results. The parent process can carry out work in parallel. The same arguments apply in message passing systems if multi-threaded processes are supported and threads may be created dynamically. A child may be created to invoke a service (by message passing) and the parent can continue with work in parallel. This may make simple message passing primitives feasible which are too inflexible for use by single-threaded processes. ...

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.