Threads are light weight process that executes within address space of processes .Process of creating and executing multiple threads is called multithreading . Threads share common data and files. Its are faster to create and destroy than processes.
Per Threads Items | Per Process Items |
*Program counter | *Address Space |
*Stack | *Global Variables |
*Register set | *Open files |
*Child Thread | *Child Process |
*State | *Timers |
* | *Single |
* | *Semaphores |
* | *Accounting Information |
Threads Vs. Process :-
Threads | Process |