Threads Model

Figure 5.1: Threads model.
Image threadsmodel
  • Main program loads and acquires all of the necessary system and user resources to run.
  • Main program performs some serial work,
  • and then creates a number of tasks (threads) that can be scheduled and run by the OS concurrently.