{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Ch04_Multithreaded_Programming.pdf - Chapter 4...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Chapter 4: Multithreaded Programming
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4.2 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Chapter 4: Multithreaded Programming Overview Multicore Programming Multithreading Models Thread Libraries Implicit Threading Threading Issues Operating System Examples
Background image of page 2
4.3 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition 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 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
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4.4 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition 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
Background image of page 4
4.5 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Process vs. Thread
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon