4.16. Implementation of processes in language systems
4.16.1. Specification, creation and termination
In some languages a special kind of procedure call indicates that a new process should be created to execute the call and should run in parallel with the caller, sharing the address space of the caller. The modular software specification does not indicate which modules will be executed in parallel. Processes are created dynamically to execute the modules of the system. Mesa, Modula-3 and CCLU (see Chapter 16) follow this style.
Figure 4.30 shows an example of syntax that may be used to create a process to perform a specific function, after which it is deleted: FORK, for procedure call with process creation, and JOIN, for child process deletion ...
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.