OS_ch04_F07 - I.-C. Lin, Assistant Professor. Textbook:...

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

View Full Document Right Arrow Icon
I.-C. Lin, Assistant Professor. Textbook: Operating System Principles 7ed 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 DocumentRight Arrow Icon
hapter 4: Multithreaded Programming Chapter 4: Multithreaded Programming ± Overview ± Multithreading Models ± Thread Libraries ± Threading Issues ± Operating-System Examples
Background image of page 2
ingle and Multithreaded Processes Single and Multithreaded Processes
Background image of page 3

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

View Full DocumentRight Arrow Icon
Benefits ± Responsiveness ± Resource Sharing ± Economy tilization of MP Architectures ± Utilization of MP Architectures
Background image of page 4
ser Threads User Threads ± Thread management done by user-level threads library i th d lib i ± Three primary thread libraries: ± POSIX Pthreads in32 threads ± Win32 threads ± Java threads
Background image of page 5

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

View Full DocumentRight Arrow Icon
ernel Threads Kernel Threads t d b t h K l ± Supported by the Kernel amples ± Examples ± Windows XP/2000 olaris ± Solaris ± Linux ± Tru64 UNIX ± Mac OS X
Background image of page 6
ultithreading Models Multithreading Models ± Many-to-One ne ne ± One-to-One any ± Many-to-Many
Background image of page 7

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

View Full DocumentRight Arrow Icon
any- - ne Many to One any user vel threads mapped to single kernel thread ± Many user-level threads mapped to single kernel thread ± Examples: ± Solaris Green Threads NU Portable Threads ± GNU Portable Threads
Background image of page 8
any- - ne Model Many to One Model
Background image of page 9

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

View Full DocumentRight Arrow Icon
ne- - ne One to One h l th d t k l th d ± Each user-level thread maps to kernel thread ± Examples ± Windows NT/XP/2000 nux ± Linux ± Solaris 9 and later
Background image of page 10
ne- - ne Model One to one Model
Background image of page 11

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

View Full DocumentRight Arrow Icon
any- - any Model Many to Many Model llows many user level threads to be mapped to many ± Allows many user level threads to be mapped to many kernel threads ± Allows the operating system to create a sufficient number f kernel threads of kernel threads olaris prior to version 9 ± Solaris prior to version 9 i d NT/2000 ith th dFib k ± Windows NT/2000 with the ThreadFiber package
Background image of page 12
any- - any Model Many to Many Model
Background image of page 13

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

View Full DocumentRight Arrow Icon
o-
Background image of page 14
Image of page 15
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2009 for the course INFO ENGI 9801 taught by Professor Wu during the Spring '09 term at 東京国際大学.

Page1 / 34

OS_ch04_F07 - I.-C. Lin, Assistant Professor. Textbook:...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online