OS03
OS03
Overview
Multithreading Models
Thread Libraries
Thread Pools
Slide 2
Overview
Many software packages are multi-threaded
Web browser: one thread display images, another thread retrieves data
from the network
Word processor: threads for displaying graphics, reading keystrokes from
the user, performing spelling and grammar checking in the background
A thread is sometimes called a lightweight process
A process that has multiples threads can do more than one task at a time
e.g MS world and Web Browser
Examples
- Windows 95/98/NT/2000
One-to-One
Many-to-Many
Examples
- Windows 95/98/NT/2000
- OS/2
- Linux