tailieunhanh - Lecture Operating system concepts (9th Ed) - Chapter 4: Threads

In this chapter you will learn: To introduce the notion of a thread a fundamental unit of CPU utilization that forms the basis of multithreaded computer systems; to discuss the APIs for the Pthreads, Windows, and Java thread libraries; to explore several strategies that provide implicit threading; to examine issues related to multithreaded programming; to cover operating system support for threads in Windows and Linux. | Chapter 4: Threads Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Chapter 4: Threads Overview Multicore Programming Multithreading Models Thread Libraries Implicit Threading Threading Issues Operating System Examples Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Objectives To introduce the notion of a thread—a fundamental unit of CPU utilization that forms the basis of multithreaded computer systems To discuss the APIs for the Pthreads, Windows, and Java thread libraries To explore several strategies that provide implicit threading To examine issues related to multithreaded programming To cover operating system support for threads in Windows and Linux Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Motivation 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 Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne ©2013 Multithreaded Server Architecture Operating System Concepts – 9th Edition Silberschatz, Galvin and Gagne .