文档介绍:Module 5: Threads线程
Overview
综述
Benefits
益处
User and Kernel Threads
用户和内核线程
Multithreading Models
多线程模型
Solaris 2 Threads
Solaris 2线程
Java Threads
Java线程
Applied Operating System Concepts
Responsiveness
响应
Resource Sharing
资源共享
Economy经济性
Utilization of MP Architectures
MP体系结构的运用
Benefits益处
Applied Operating System Concepts
Single and Multithreaded Processes单个和多线程进程
Applied Operating System Concepts
User Threads用户线程
Thread Management Done by User-Level Threads Library由用户级线程库进行管理的线程
Examples例子
- POSIX Pthreads
- Mach C-threads
- Solaris threads
Applied Operating System Concepts
Kernel Threads内核线程
Supported by the Kernel由内核支持
Examples例子
- Windows 95/98/NT
- Solaris
- Digital UNIX
Applied Operating System Concepts
Multithreading Models多线程模型
Many-to-One多对一
One-to-One一对一
Many-to-Many
多对多
Applied Operating System Concepts
Many-to-One多对一
Many User-Level Threads Mapped to Single Kernel Thread.多个用户级线程映像进单个内核线程
Used on Systems That Do Not Support Kernel Threads.
用于不支持内核线程的系统中
Applied Operating System Concepts
Many-to-one Model多对一模型
Applied Operating System Concepts
One-to-One一对一
Each User-Level Thread Maps to Kernel Thread.每个用户级线程映像进内核线程
Examples
- Windows 95/98/NT
- OS/2
Applied Operating System Concepts
One-to-one Model一对一模型
Applied Operating System Concepts