Explaining the process model

Traditional operating systems must provide a way to create and terminate processes. There are four principal events that cause processes to be created; they are as follows:

  • System initialization
  • Execution of a process-creation system call by a running process
  • A user request to create a new process
  • Initiation of a batch job

After the operating system has been started, several processes are created. Some of these are foreground processes. They are processes that interact with users (humans) and perform work for them. Others are background processes that are not associated with any particular user action but, instead, have some specific functions. For example, one background process may be designed to accept incoming e-mails; ...

Get C++ Multithreading Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.