next up previous
Next: Routines Up: Processes and basic parallel Previous: Processes and basic parallel

Processes

We think of a process as a task or group of tasks that a processor executes. Static process creation is when all processes are created before any are executed, and the system then executes a fixed number of processes. For example, a single master process may get created, and in turn create slave processes which execute arithmetic operations, sending partial results back to the master which combines these partial results, reports the final result, and exits.

In dynamic process creation, new processes may be created or killed, depending on the state of the system or the partial results of another process. Of course the program must encode all the creation/destruction rules. But, depending on data, different numbers of processes may be active at different times, new processes spawned, and others killed.



E. Bruce Pitman
Mon Oct 2 10:36:05 EDT 2000