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

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.

主站蜘蛛池模板: 黔西| 高邮市| 广宗县| 贵南县| 本溪| 桃江县| 呼图壁县| 全州县| 呼图壁县| 会昌县| 区。| 泗水县| 景洪市| 龙游县| 垫江县| 澄江县| 新田县| 垦利县| 马山县| 建德市| 贵溪市| 云霄县| 锦州市| 平陆县| 汉源县| 自治县| 东乡族自治县| 宝兴县| 兰坪| 昌江| 汉沽区| 荣成市| 刚察县| 共和县| 卓尼县| 巴楚县| 彩票| 兰坪| 铜梁县| 楚雄市| 颍上县|