Question

Which of the following is a primary reason for using threads instead of multiple processes for concurrent execution within a single application?

A Threads have separate address spaces, providing better isolation.
B Context switching between threads is generally more expensive than between processes.
C Threads share the same address space, allowing for easier data sharing.
D Threads are managed exclusively by hardware, not the operating system.
E Threads offer stronger security guarantees than processes.
Practice Next

Hey! Ask a query