Analyst Integration Question:

What is difference between forking a process and spawning a thread?

Tweet Share WhatsApp

Answer:

When you fork a process, the new process will run same code as parent process but in different memory space, but when you spawn a new thread in existing process, it just creates another independent path of execution but share same memory space.

Download Integration Programmer PDF Read All 87 Integration Programmer Questions
Previous QuestionNext Question
Why would you ever want to create a mock object?Explain three different kinds of testing that might be performed on an application before it goes live?