Chapter 6

Task management

6.1: Processes

  • What’s in a process ?
  • Run process !
    • Process Control Block
    • Process state
    • Open files list
  • Creating processes

6.2: Processes (lab)

6.3: Inter-Process Communication (IPC)

6.4: Threads

  • What’s in a thread ?
  • Why would we want multiple threads ?
    • Amdahl’s law
  • Creating threads
    • Pthreads

6.5: Threads (lab)

6.6 Inter-Thread communication

  • Critical Section
  • Communication between threads
    • Locking
    • Mutex
    • Semaphore

6.7 Inter-Thread communication (lab)