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