Chapter 4: Multithreaded Programming Flashcards
1
Q
(4)Motvation
A
Most modern applications are multithreaded
Threads run within application
Multiple tasks with the application can be implemented by separate threads
- Update display
- Fetch data
- Spell checking
Answer a network request
Process creation is heavy-weight while thread creation is light-weight
Can simplify code, increase efficiency
Kernels are generally multithreaded