What is the primary difference between a process and a thread?

  • Concurrency
  • Independence
  • Memory usage
  • Resource ownership
A process is an independent entity that has its own address space and resources, while a thread is a lightweight entity that exists within a process and shares the same address space and resources with other threads in that process. This difference in independence and resource sharing is crucial for understanding how processes and threads operate within an operating system.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *