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

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.

主站蜘蛛池模板: 威信县| 民乐县| 叙永县| 英山县| 隆德县| 柳江县| 麻城市| 灌阳县| 南宁市| 福海县| 通州市| 金溪县| 社旗县| 永川市| 弥渡县| 香格里拉县| 南木林县| 博客| 兴化市| 凉城县| 喀喇沁旗| 云阳县| 甘南县| 南陵县| 阜康市| 齐河县| 沁水县| 朝阳区| 安顺市| 恩施市| 池州市| 广河县| 尤溪县| 静宁县| 柳河县| 马关县| 通州区| 吉安县| 讷河市| 临桂县| 阳原县|