Google interview question

(This was actually the first question) Explain the difference between a process & a thread.

Interview Answer

Anonymous

May 30, 2014

Threads are a part of a process. They share an address space with all other threads of the owning process. With the default signal handlers, a signal in a thread of a process will terminate the whole process (and all of it's threads).