- Mastering Linux Kernel Development
- Raghu Bharadwaj
- 133字
- 2021-07-08 09:47:18
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.
- Unity 2020 By Example
- Instant Testing with CasperJS
- Python量化投資指南:基礎、數據與實戰
- Linux核心技術從小白到大牛
- Mastering SVG
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- Mastering Python High Performance
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Java應用開發技術實例教程
- MATLAB 2020從入門到精通
- 匯編語言編程基礎:基于LoongArch
- 零基礎學Scratch 3.0編程
- R的極客理想:量化投資篇
- Python 3快速入門與實戰
- Arduino Electronics Blueprints