Microsoft Interview Question

What is the difference between a process and a thread? What makes it possible to share data between two threads and how would you do it?

Interview Answer

Anonymous

Sep 21, 2012

Threads run in process, threads share the process's assigned memory so they can access eachother's info. But must do so using mutexes to avoid corrupting data