1.6.2. Process Implementation,进程切换时
来源:互联网 发布:360数据恢复软件下载手机 编辑:程序博客网 时间:2024/05/20 23:31
1.6.2. Process Implementation
To let the kernel manage processes, each process is represented by aprocess descriptor that includes information about the current state of the process.
When the kernel stops the execution of a process, it saves the current contents of several processor registers in the process descriptor. These include:
The program counter (PC) and stack pointer (SP) registers
The general purpose registers
The floating point registers
The processor control registers (Processor Status Word) containing information about the CPU state
The memory management registers used to keep track of the RAM accessed by the process
When the kernel decides to resume executing a process, it uses the proper process descriptor fields to load the CPU registers. Because the stored value of the program counter points to the instruction following the last instruction executed, the process resumes execution at the point where it was stopped.
When a process is not executing on the CPU, it is waiting for some event. Unix kernels distinguish many wait states, which are usually implemented by queues of process descriptors ; each (possibly empty) queue corresponds to the set of processes waiting for a specific event.
- 1.6.2. Process Implementation,进程切换时
- 进程切换(process switch)
- windbg-.process切换进程
- 66.windbg-.process切换进程(内核)
- Linux进程上下文切换(process context switch)
- 进程-process
- Process 进程
- 进程process
- Process进程
- Process(进程)学习
- Process进程的操作
- System Idle Process进程
- 进程代数 Process Algebra
- Process 启动进程
- 进程(Process)
- 僵尸进程 (Zombie Process)
- Process进程的了解
- nodejs入门--process 进程
- 通过SSH的过滤器及Cookie实现自动登录2周不退出
- HINSTANCE
- memcache 的源代码分析
- SOPC开发
- linux 读取文件,输出行值
- 1.6.2. Process Implementation,进程切换时
- [Android开发]android 跨进程通信之Broadcast
- session 内部机制
- 操作Word模板文件.dot 结合具体数据 生成Word文档 .doc
- bulk collect 用法
- vc6.0中如何查找内存泄露
- 数据结构中的排序算法
- LVS大全
- 管理音频缓冲|线程切换Sleep