Analyst Integration Question:

Can you please explain the difference between forking a process and spawning a thread?

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 41 Integration Programmer Questions
Previous QuestionNext Question
Can you please explain the difference between Overriding and Overloading?Explain about critical section?