Chapter4Threads.pptVIP

  • 14
  • 0
  • 约7.31千字
  • 约 27页
  • 2016-11-07 发布于天津
  • 举报
Chapter4Threads.ppt

Operating Systems X.J.Lee ?2016 4.* Chapter 4: Threads Chapter 4: Threads 4.1 Overview 概述 4.3 Multithreading Models 多线程模型 Summary 4.1 Overview Process 资源分配单位 CPU调度单位 Thread (LWP --lightweight process) 线程(轻型进程) a basic unit of CPU utilization a thread ID, a program counter, a register set, and a stack. It shares with other threads belonging to the same process code section, data section, and other operating-system resources ( such as open files and signals) If the process has multiple threads of control, it can do more than one task at a time. 如果进程有多个控制线程,则它能够一次做一个以上的任务。 Figure 4.

文档评论(0)

1亿VIP精品文档

相关文档