job

通常,必须将一组进程当作单个实体来处理。例如,当让Microsoft Developer Studio为你创建一个应用程序项目时,它会生成C l . e x e,C l . e x e则必须生成其他的进程(比如编译器的各个函数传递)。如果用户想要永远停止该应用程序的创建,那么Developer Studio必须能够终止C l . e x e和它的所有子进程的运行。在Wi n d o w s中解决这个简单(和常见的)的问题是极其困难的,因为Wi n d o w s并不维护进程之间的父/子关系。即使父进程已经终止运行,子进程仍然会继续运行。

You often need to treat a group of processes as a single entity.
Usually we need to regard a group of processes as an unique entity.
For example, when you tell Microsoft Developer Studio to build a project, it spawns Cl.exe, which might have to spawn additional processes (such as the individual passes of the compiler).
Foe example,when Microsoft Developer Studio creates an application for you,it will generate cl.exe which in turn will generate other processes.
But if the user wants to prematurely stop the build, Developer Studio must somehow be able to terminate Cl.exe and all its child processes.
If the user wants to terminate the creation of the application permanently, then Developer Studio will need the ability to terminate cl.exe and all its subprocesses.
Solving this simple (and common) problem in Windows has been notoriously difficult because Windows doesn't maintain a parent/child relationship between processes.
In widows solving this simple (and faimliar) problem is extremely difficult for windows does not maintain the father-son relationship between processes.
In particular, child processes continue to execute even after their parent process has been terminated.
Father-process exits, however son-process can keep on its processing.

notes:
treat...as 把...当作...
regard...as 把...认作...
spawn 产生,产卵
in turn 不是 in turns
prematurely 过早地
common familiar
parent/child

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值