What are threads?
A thread, sometimes termed as a lightweight process (LWP), is a fundamental unit of CPU utilization; this comprises a thread ID a register set and a stack and a program counter.
A thread shares along with other threads belonging to similar process its code section, data section and other operating-system resources as signals and open files.
If the process has many threads of control, it can do more than one task at a time.