Knaph

Thread

An independent flow of execution inside a process. Threads of one process share its memory but each has its own stack and registers.

Depth 1 · Foundation

You can describe what threads share and what each one owns.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You can describe what threads share and what each one owns.

  2. 2

    Deeper

    You know why sharing memory is dangerous and how locks make it safe.

Your path here

What's still between you and Thread, depth 1, in the order you can learn it.

  1. 1CPU virtualizationDepth 1 · Foundation · Operating Systems
  2. 2ProcessDepth 1 · Foundation · Operating Systems
  3. 3ProgramDepth 1 · Foundation · Program Basics
  4. 4ExpressionDepth 1 · Foundation · Program Basics
  5. 5Variables in codeDepth 1 · Foundation · Program Basics
  6. 6Program stateDepth 1 · Foundation · Program Basics
  7. 7Input and outputDepth 1 · Foundation · Program Basics
  8. 8Functions in codeDepth 1 · Foundation · Functions
  9. 9ConcurrencyDepth 1 · Foundation · Concurrency
  10. 10ThreadDepth 1 · Foundation · Operating Systems

Where it fits

Makes these deeper

Once you know Thread, come back to these — they'll mean more.