Multithreading  Part 01

Multithreading Part 01

Table of contents

Introduction

  1. Task - Single unit of work

  2. Multi - Multiple

    1. Multi-tasking: performing multiple tasks
  3. Process An entire application is called as a process

  4. 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.