Threads

From DikapediaV2
Revision as of 14:33, 11 September 2024 by Ardika Sulistija (talk | contribs) (Created page with "Related topics: * <b>Processes</b> * <b>Zombie Process</b> * <b>Orphan Process</b> * <b>Process Control Block (PCB)</b> ---- <b>Threads</b> are the smallest unit of processing that a scheduler can work, and can have the same resources such as memory, address space, open files. Also called "<i>light weight processes</i> (LWPs). <u><b>Threads</b> vs <b>Processes</b></u>: * <b>Threads...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Related topics:




Threads are the smallest unit of processing that a scheduler can work, and can have the same resources such as memory, address space, open files. Also called "light weight processes (LWPs).


Threads vs Processes:

  • Threads
    • executing under the same process share the address space.
    • Communication between threads is very fast because they share same address space.
  • Processes
    • Processes do not share their address space.
    • Communication between process is quite difficult and resource intensive.