美文网首页
CSAPP translation summary page 1

CSAPP translation summary page 1

作者: 木子9268 | 来源:发表于2019-07-22 01:12 被阅读0次

实现进程这个抽象的概念需要低级硬件和操作系统软件之间的紧密合作.

Implementing the process abstraction require close cooperation between both the low-level hardware and the operating system software.

线程:

一个进程可以由多个(multiple )称为线程的执行单元组成,每个线程都运行在进程的上下文当中,分享着相同的代码和全局数据. 由于网络服务器对并行(concurrency )处理的需求,由于数据的分享在多个线程和处理器之间更加的容易,因为线程比处理器更加的高效.多线程是一种让程序运行得更快的结果,

A process can consist of multiple excution unites, calls treads, each treads are running in the context of the process, sharing the same code and global data. Because of the requirement for concurrency in network servers, because the share data is easier both multiple threads and multiple processes, because threads efficient than processes.

在linux中,地址空间最上面(topmost)的区域(region)是保留给操作系统中的代码和数据的,这对所有的进程来说都一样(common).地址空间的底部区域放用户进程定义的代码和数据.

In Linux, the topmost region for address is give code and data in the operating system. The lower address region put code and data of user process define.

每个进程看到的虚拟地址(virtual address)空间由大量准确定义(welldefined )的区构成,每个区都有具体的(specific)的目的.

Each processes seen virtual address space consists of a number of welldefined areas, each areas have welldefined specific.

对所有进程来说代码是从同一固定的地址开始的,紧接着是C全局变量(global variables)相对应(correspond )的数据位置. 代码和数据区(data areas)是已直接初始化的(initialized)可执行目标文件内容.

For all process the code always begin at same fixed address, followed data locati that correspond to global C variables, code and data areas are initialized directly from the contents of an executable object file.

相关文章

  • CSAPP translation summary page 1

    实现进程这个抽象的概念需要低级硬件和操作系统软件之间的紧密合作. Implementing the process...

  • CSAPP translation page 1

    1.1信息就是位(bits)+上下文(context) 我们的hello 程序生命开始就是一个源程序(或者称为一个...

  • CSAPP translation page 6

    总线 在整个系统中运行的是称为总线(buses)的电导管(electrical conduits)集合,它们在组件...

  • CSAPP translation page 3

    这里,GCC编译器驱动程序读取hello.c源文件然后翻译成一个可执行的目标文件hello. 翻译执行的4个阶段在...

  • CSAPP translation page 4

    旁注: GNU项目 GCC是CNU项目开发出来的许多实用工具之一.GNU项目是理查德·马修·斯托曼(Richard...

  • CSAPP translation page 7

    第6章详细的讲关于输入/输出设备像磁盘的工作. 在第10章, 你将要学习怎样使用Unix的输入/输出接口从应用程序...

  • CSAPP translation page 10

    这本书当中的一个重要结论(lessons)之一就是,意识到高速缓存存储器的应用程序员能够利用(exploit)它们...

  • CSAPP translation page 8

    •加载:从主存复制一个字节或一个字到寄存器(register)里, 覆盖寄存器以前的内容. •储存:从寄存器复制一...

  • CSAPP translation page 9

    1.5高速缓存非常重要 这个简单的例子有重要的经验,系统花费大量的时间把信息从一个地方传送到另外一个地方. hel...

  • CSAPP translation page 2

    旁注: C编程语言的起源 C语言在1969年到1973年由贝尔实验室由丹尼斯•里奇(Dennis Ritchie)...

网友评论

      本文标题:CSAPP translation summary page 1

      本文链接:https://www.haomeiwen.com/subject/yuvblctx.html