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

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.

主站蜘蛛池模板: 仁布县| 华宁县| 山阴县| 巴南区| 互助| 广平县| 铁岭市| 文登市| 黄平县| 科技| 乐清市| 长沙县| 彭山县| 临泽县| 宽城| 运城市| 呼和浩特市| 靖西县| 牙克石市| 舒兰市| 宁国市| 青冈县| 昂仁县| 仪陇县| 宿迁市| 永昌县| 永福县| 章丘市| 肃南| 姚安县| 广昌县| 平舆县| 东海县| 桂林市| 彭水| 宜良县| 通榆县| 义马市| 昆明市| 潢川县| 昭通市|