Question
What happens to the other threads when one thread successfully calls exec()?
Select an option. Your answer will be checked instantly.
Correct Answer: C. The process image is replaced, so the old threads cease to exist
Explanation:
exec replaces the entire process address space with a new program image.
Only the new program's initial execution context remains after the replacement.
Leave a Reply