What Are Threads Used For?
Operating systems: one kernel thread for each user process.
Scientific applications: one thread per CPU (solve problems more quickly).
Distributed systems: process requests concurrently (overlap I/Os).
GUIs:
- Threads correspond to user actions; can service display during long-running computations.
- Multimedia, animations.