S.l.e!ep.¢%

像打了激速一样,以四倍的速度运转,开心的工作
简单、开放、平等的公司文化;尊重个性、自由与个人价值;
posts - 1098, comments - 335, trackbacks - 0, articles - 1
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Chapter 6 Processes, Threads, and Jobs

Posted on 2009-12-15 12:55 S.l.e!ep.¢% 阅读(276) 评论(0)  编辑 收藏 引用 所属分类: English

翻译了老半天,真想买一本中文的看....

Chapter 6

Processes, Threads, and Jobs

 

In this chapter, we’ll explain the data structures and algorithms that deal with processes,

threads, and jobs in Microsoft Windows.

在这一章,我们将解释 Microsoft Windows 内部处理 进程、线程和作业的数据结构和算法

explain: 解释

 

The first section focuses on the internal structures

that make up a process. The second section outlines the steps involved in creating a process

(and its initial thread).

第一节集中介绍构成一条进程的内部结构 . 第二节概述创建一条进程(以及它的初始线程)的涉及的步骤

focus on: 关注

make up: 构成

outline. v. 概述

involve in 使参与

 

The internals of threads and thread scheduling are then described. The

chapter concludes with a description of the job object.

然后,介绍了线程的内部和线程的调度机制 . 最后还讲到 job 对象

Internal: 内部的

Scheduling 时序安排

Conclude 中止

Conclude with 结束 / 中止

 

Where relevant performance counters or kernel variables exist, they are mentioned. Although

this book isn’t a Windows programming book, the pertinent process, thread, and job Win-

dows functions are listed so that you can pursue additional information on their use.

相关的性能计数器和存在的内核变量都会提及。虽然这本书不是 Windows 编码的书,相关的进程,线程和工作的 windows 函数会列出来,所以你可以去查阅它们使用的相关信息

Relevant    有关的,相关的

Mentioned   mention 的过去式   提到,提及

Pertinent    adj, 相关的

Pursue      v, 追求

Although    虽然

 

Because processes and threads touch so many components in Windows, a number of terms

and data structures (such as working sets, objects and handles, system memory heaps, and so

on) are referred to in this chapter but are explained in detail elsewhere in the book.

 

To fully understand this chapter, you need to be familiar with the terms and concepts explained in

chapters 1 and 2, such as the difference between a process and a thread, the Windows virtual

address space layout, and the difference between user mode and kernel mode.

 

 

Process Internals

This section describes the key Windows process data structures. Also listed are key kernel

variables, performance counters, and functions and tools that relate to processes.

Data Structures Each Windows process is represented by an executive process (EPROCESS) block. Besides containing many attributes relating to a process, an EPROCESS block contains and points to a number of other related data structures. For example, each process has one or more threads represented by executive thread (ETHREAD) blocks. (Thread data structures are explained in the section “Thread Internals” later in this chapter.) The EPROCESS block and its related data structures exist in system space, with the exception of the process environment block (PEB), which exists in the process address space (because it contains information that is modified by user-mode code).


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理