Processes and threads. (Chapter 6) презентация
Содержание
- 2. Processes: Review Multiprogramming versus multiprocessing Kernel data structure: process control block
- 3. Process Behavior Processes: alternate between CPU and I/O CPU bursts Most
- 4. Process Scheduling Priority queues: multiples queues, each with a different priority
- 5. Processes and Threads Traditional process One thread of control through a
- 6. Threads Each thread has its own stack, PC, registers Share
- 7. Why use Threads? Large multiprocessors need many computing entities (one per
- 8. Why Threads? Single threaded process: blocking system calls, no parallelism Finite-state
- 9. Multi-threaded Clients Example : Web Browsers Browsers such as IE are
- 10. Multi-threaded Server Example Apache web server: pool of pre-spawned worker threads
- 11. Thread Management Creation and deletion of threads Static versus dynamic Critical
- 12. User-level versus kernel threads Key issues: Cost of thread management More
- 13. User-level Threads Threads managed by a threads library Kernel is unaware
- 14. User-level threads
- 15. Kernel-level threads Kernel aware of the presence of threads Better scheduling
- 16. Light-weight Processes Several LWPs per heavy-weight process User-level threads package Create/destroy
- 17. LWP Example
- 18. Thread Packages Posix Threads (pthreads) Widely used threads package Conforms to
- 19. Скачать презентацию

















Слайды и текст этой презентации
Скачать презентацию на тему Processes and threads. (Chapter 6) можно ниже:
Похожие презентации