官术网_书友最值得收藏!

Process creation

During kernel boot, a kernel thread called init is spawned, which in turn is configured to initialize the first user-mode process (with the same name). The init (pid 1) process is then configured to carry out various initialization operations specified through configuration files, creating multiple processes. Every child process further created (which may in turn create its own child process(es)) are all descendants of the init process. Processes thus created end up in a tree-like structure or a single hierarchy model. The shell, which is one such process, becomes the interface for users to create user processes, when programs are called for execution.

Fork, vfork, exec, clone, wait and exit are the core kernel interfaces for the creation and control of new process. These operations are invoked through corresponding user-mode APIs.

主站蜘蛛池模板: 布尔津县| 德兴市| 亳州市| 清镇市| 布拖县| 泰顺县| 商南县| 眉山市| 修水县| 瓦房店市| 华坪县| 沭阳县| 库尔勒市| 西平县| 广灵县| 平邑县| 东乡族自治县| 额尔古纳市| 上蔡县| 钟山县| 广东省| 吐鲁番市| 兴国县| 阳高县| 张家口市| 新竹市| 喀喇沁旗| 安吉县| 鄂托克旗| 巴林左旗| 宝坻区| 阿巴嘎旗| 修武县| 阆中市| 聂荣县| 湘潭市| 威海市| 顺平县| 邢台市| 奉贤区| 安乡县|