Thread
A basic unit of cpu ultilization
A thread comprises:
- Thread id
- Program counter
- Register set
- Stack
Benefits of multithreaded programming
- Responsiveness
- Resource sharing
- Economy
- Ultilization of multiprocessor architectures
https://www.youtube.com/watch?v=LOfGJcVnvAk&list=PLBlnK6fEyqRiVhbXDGLXDk_OQAeuVcp2O&index=32