About threads & processes

  • A process can create, and for instance, contain threads.

  • The threads of a process are part of the same virtual address space. It implies they share:

    • data

    • code

    • file.

  • However, each thread has its own:

    • stack,

    • stack pointer register

    • Program Counter

    • registers.

Last updated