打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
什么是子进程

Child Processes

Processes are the primitive units for allocation of systemresources. Each process has its own address space and (usually) onethread of control. A process executes a program; you can have multipleprocesses executing the same program, but each process has its own copyof the program within its own address space and executes itindependently of the other copies.

Processes are organized hierarchically. Each process has a parentprocess which explicitly arranged to create it. The processes createdby a given parent are called its child processes. A childinherits many of its attributes from the parent process.

This chapter describes how a program can create, terminate, and controlchild processes. Actually, there are three distinct operationsinvolved: creating a new child process, causing the new process toexecute a program, and coordinating the completion of the child processwith the original program.

The system function provides a simple, portable mechanism forrunning another program; it does all three steps automatically. If youneed more control over the details of how this is done, you can use theprimitive functions to do each step individually instead.



进程是分配系统资源的基本单位,进程执行一个程序,多个进程可执行同一个程序,但是它们的执行是相互独立的,有各自的进程空间。
一个进程可创建另外一个进程,那么它创建的这个进程是它的子进程。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
bash
秋言秋语
What Is E
cmd下查看进程路径
Homemade mooncakes become food craze in China
python3 每天在指定时间段运行程序及关闭程序
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服