Skip to the content.

Multi Threading

Threads in OS

A thread is a flow of execution through the process code, with its own program counter that keeps track of which instruction to execute next, system registers which hold its current working variables, and a stack which contains the execution history.

img1

Thread vs Process

ULT & KLT

Applications of Threads

Use of POSIX Library Threads