Table of contents
Introduction
Task - Single unit of work
Multi - Multiple
- Multi-tasking: performing multiple tasks
Process An entire application is called as a process
Thread
A thread is a basic unit of CPU utilization, consisting of a program counter, a stack, and a set of registers. A thread of execution results from a fork of a computer program into two or more concurrently running tasks.
In simpler terms we can also call a thread as flow of execution.