Overview of process and threads

0 views - 1 minute readEdit this post

I rely on your support to keep this website running. If you find the content valuable, please consider making a small donation. whether it’s ₹25/$1 or ₹500/$5.

Donate

Secured by Stripe

Overview of process and threads

Process

  • Process is a program that is being executed
  • Process doesn’t share memory, processes are isolated.
  • Process takes more time for context switching.
  • It takes more time for creation.

Thread

  • Thread is a segment of the process.
  • They can terminate quickly.
  • They can share memories.
  • Threads is an entirely different execution.
  • Thread is very fast in terms of context-switching
  • It takes very little time for creation compared to process.

Did you enjoyed the post?

Twitter (x)