Compared with creating a new process, why is creating a thread generally cheaper?
Correct answer C. A thread shares its process's address space and resources, so far less must be allocated
A new process needs its own address space, page tables and resource records, while a new thread reuses the process's memory and open files and needs only a stack, registers and a small control block. Switching between threads of the same process is also cheaper because the memory map stays the same. Threads still need stacks and are still scheduled.
Answer checked How we write and check questions
Discussion