《操作系统》课程教学资源(PPT课件)第五章 Threads线程

Module5: Threads线程 Overview 综述 ● Benefits 益处 User and Kernel threads 用户和内核线程 Multithreading Models 多线程模型 Solaris 2 Threads Solaris2线程 Java threads Java线程 Applied Operating System Concepts 5.1
5.1 Applied Operating System Concepts Module 5: Threads线程 • Overview 综述 • Benefits 益处 • User and Kernel Threads 用户和内核线程 • Multithreading Models 多线程模型 • Solaris 2 Threads Solaris 2线程 • Java Threads Java线程

Benefits益处 Responsiveness 响应 ° Resource Sharing 资源共享 Economy 经济性 Utilization of MP Architectures MP体系结构的运用 Applied Operating System Concepts 2
5.2 Applied Operating System Concepts • Responsiveness 响应 • Resource Sharing 资源共享 • Economy 经济性 • Utilization of MP Architectures MP体系结构的运用 Benefits益处

Single and Multithreaded Processes 个和多线 Code Data Files Code Data Files Thread 33 Thread Single-threaded Multi-threaded Applied Operating System Concepts 5.3
5.3 Applied Operating System Concepts Single and Multithreaded Processes 单个和多线程进程

User Threads Thread Management Done by User-Level Threads Library 由用户级线程库进行管理的线程 Examples例子 POSIX Pthreads Mach C-threads Solaris threads Applied Operating System Concepts 5.4
5.4 Applied Operating System Concepts User Threads 用户线程 • Thread Management Done by User-Level Threads Library 由用户级线程库进行管理的线程 • Examples例子 - POSIX Pthreads - Mach C-threads - Solaris threads

Kernel threads 内核线程 Supported by the Kernel 由内核支持 Examples例子 Windows 95/98/NT Solaris Digital UNIX Applied Operating System Concepts 5
5.5 Applied Operating System Concepts Kernel Threads 内核线程 • Supported by the Kernel 由内核支持 • Examples例子 - Windows 95/98/NT - Solaris - Digital UNIX

Multithreading Models 多线程模型 °Many-to-One 多对 One-to-One 对 °Many-to-Many 多对多 Applied Operating System Concepts 5.6
5.6 Applied Operating System Concepts Multithreading Models 多线程模型 • Many-to-One 多对一 • One-to-One 一对一 • Many-to-Many 多对多

Many-to-One多对 Many User-Level Threads Mapped to Single Kernel Thread 多个用户级线程映像进单个内核线程 Used on Systems That Do Not Support Kernel Threads 用于不支持内核线程的系统中1 Applied Operating System Concepts 7
5.7 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. 用于不支持内核线程的系统中

Many- to-one Model多对一模型 user thread k kernel thread Applied Operating System Concepts 5.8
5.8 Applied Operating System Concepts Many-to-one Model多对一模型

One-to-One一对 Each User-Level Thread Maps to Kernel Thread 每个用户级线程映像进内核线程 Examples Windows 95/98/NT /e: OS/2 Applied Operating System Concepts 5.9
5.9 Applied Operating System Concepts One-to-One一对一 • Each User-Level Thread Maps to Kernel Thread. 每个用户级线程映像进内核线程 • Examples - Windows 95/98/NT - OS/2

One-to- one Model-对一模型 3333←-m k kernel thread Applied Operating System Concepts 5.10
5.10 Applied Operating System Concepts One-to-one Model一对一模型
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《操作系统》课程教学资源(PPT课件)第二章 Computer-System Structures 计算机系统结构.ppt
- 《操作系统》课程教学资源(PPT课件)第九章 Memory Management.ppt
- 《操作系统》课程教学资源(PPT课件)第三章 Operating-System Structures 操作系统结构.ppt
- 《操作系统》课程教学资源(PPT课件)第七章 Process Synchronization.ppt
- 《操作系统》课程教学资源(PPT课件)第一章 Introduction 引论.ppt
- 《操作系统》课程教学资源(PPT课件)Applied Operating System Concepts(AOSC)介绍.ppt
- 国防科技大学:《复杂网络可靠性研究》 概述讲解.ppt
- 《数字图像处理》课程教学资源(PPT课件讲稿)第九章 图象分析(数学形态学图像处理、遥感信息处理).ppt
- 《数字图像处理》课程教学资源(PPT课件讲稿)第九章 图象分析(分割、描绘).ppt
- 《数字图像处理》课程教学资源(PPT课件讲稿)第八章 三维图像处理技术.ppt
- 《数字图像处理》课程教学资源(PPT课件讲稿)预测编码、变换编码、静态图象的一些主要数据文件压缩方式、图象编码的国际标准.ppt
- 《数字图象处理》 第七章(7-5) 算术编码.ppt
- 《数字图象处理》 第七章(7-4) 统计编码.ppt
- 《数字图象处理》 第七章 图象编码.ppt
- 《数字图象处理》 第六章 图象复原.ppt
- 《数字图象处理》 第五章(5-7) 图像几何处理.ppt
- 《数字图象处理》 第五章(5-4) 图像尖锐化处理.ppt
- 《数字图象处理》 第五章(5-1) 图像增强.ppt
- 《数字图象处理》 第四章(4-2) 离散余弦(cos)变换.ppt
- 《数字图象处理》 第四章(4-1) 二维正交变换.ppt
- 《操作系统》课程教学资源(PPT课件)第八章 Deadlocks(死锁).ppt
- 《操作系统》课程教学资源(PPT课件)第六章 CPU Scheduling.ppt
- 《操作系统》课程教学资源(PPT课件)第十一章 File-System Interface(文件系统接口).ppt
- 《操作系统》课程教学资源(PPT课件)第十三章 Secondary-Storage 二级存储.ppt
- 《操作系统》课程教学资源(PPT课件)第十九章 Security(安全).ppt
- 《操作系统》课程教学资源(PPT课件)第十二章 I/O Systems(I/O系统).ppt
- 《操作系统》课程教学资源(PPT课件)第十八章 Protection(保护).ppt
- 《操作系统》课程教学资源(PPT课件)第十章 Virtual Memory.ppt
- 《操作系统》课程教学资源(PPT课件)第四章 Processes 进程.ppt
- 《实用网络技术》 第四章(4-1) 网络技术基础.ppt
- 《实用网络技术》 第四章(4-2) 同轴电缆.ppt
- 《实用网络技术》 第四章(4-3) 地球同步卫星.ppt
- 《实用网络技术》 第四章(4-4).ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)内容导航(崔雅娟).ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第一章 程序设计概述.ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第七章 指针.ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第三章 语句及控制结构.ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第九章 文件.ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第二章 数据类型、运算符与表达式.ppt
- 北京语言文化大学:《C语言程序设计导论》课程教学资源(PPT课件)第五章 预处理命令.ppt