正在加载图片...
Thread concept overview o A thread is a basic unit of CPU utilization; it comprises a thread ID,a program counter,a register set, and a stack. It shares with other threads belonging to the same process the code section,the data section,and other OS resources, such as open files,signals,etc o A traditional process has a single thread of control: heavyweight process. code data files code data files registers stack registers registers registers stack stack stack thread single-threaded process multithreaded process 陈适兰xlanchen@ustc.edu.cn http:/staf.u01174O1:Operating System操作系统原理 March 29,2019 6/44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thread concept overview A thread is a basic unit of CPU utilization; ▶ it comprises a thread ID, a program counter, a register set, and a stack. ▶ It shares with other threads belonging to the same process the code section, the data section, and other OS resources, such as open files, signals, etc A traditional process has a single thread of control: heavyweight process. code data files registers stack single-threaded process thread code data files registers registers registers stack stack stack multithreaded process 陈香兰 xlanchen@ustc.edu.cn http://staff.ustc.edu.cn/~xlanchen (Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS, USTC @ Suzhou) 0117401: Operating System 操作系统原理与设计 March 29, 2019 6 / 44
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有