Process Vs Thread Linux. The process is called the heavyweight process. A thread shares the data segment, code segment, files etc.

All the different processes are treated separately by the os. A thread is lightweight as each thread in a process shares code, data, and resources. The process is called the heavyweight process.