What is the main advantage of using threads compared to processes ?

2024

What is the main advantage of using threads compared to processes ?

  1. A.

    Improved security and isolation

  2. B.

    Faster context switching and resource sharing

  3. C.

    Better support for parallel processing

  4. D.

    More efficient memory management

Attempted by 57 students.

Show answer & explanation

Correct answer: B

The main advantage of using threads compared to processes is faster context switching and shared memory access.

Explore the full course: Niacl Ao It Specialist