O'Reilly logo

C++ Multithreading Cookbook by Milos Ljumovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required