Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Processes e threads

Processes e threads

Cheesecake Labs

December 21, 2017
Tweet

More Decks by Cheesecake Labs

Other Decks in Technology

Transcript

  1. Units of processing • Processes and Threads • Series of

    instructions • Operating System or Program
  2. Processes • Instance of a program • Program Code •

    Heavy • Has its own memory space • Communication using the IPC (Pipes) • 1 or more threads • Duplicates the state of their parent • Controlled by the OS
  3. Threads • Subset of a process • Small pieces of

    code • Light • Shared memory space • Direct communication with other threads • Can only have 1 process • Easily created • Controlled by the programmer