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.
Loading...
Related Quiz
- A ___________ is a network device that forwards data packets between computer networks.
- Which traversal algorithm is used to visit all nodes of a binary tree in a specific order?
- Which mechanism is used to switch between processes in multitasking operating systems?
- Angular's ___________ feature allows lazy loading of modules to improve application performance.
- What are the potential drawbacks of using too many indexes in a database?