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

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.

主站蜘蛛池模板: 江都市| 乳源| 澄迈县| 县级市| 梓潼县| 德格县| 大足县| 从江县| 大埔县| 项城市| 绍兴市| 黎城县| 库尔勒市| 榆中县| 田东县| 筠连县| 虞城县| 曲阳县| 舟山市| 广汉市| 柳林县| 永登县| 大兴区| 宜黄县| 陆川县| 湟源县| 武宁县| 彰化市| 虹口区| 淅川县| 泸州市| 额敏县| 公主岭市| 新乐市| 姜堰市| 涞水县| 绍兴市| 衡阳市| 蓬莱市| 通州市| 鹤岗市|