当前位置:网站首页>0号进程,1号进程,2号进程
0号进程,1号进程,2号进程
2022-06-27 08:14:00 【KingOfMyHeart】
0号进程
是一个内核进程,是所有进程的祖先,也叫做swapper进程。
主要作用:
执行start_kernel()函数,初始化内核需要的所有数据结构,激活中断,创建1号内核进程(init进程)。
只有当没有可运行的进程的时候,才会运行0号进程,0号进程不是一个实实在在可见的进程,它
是单用户,单任务的系统启动代码
1号进程
由0号进程创建的1号进程,pid=1,1号进程共享0号进程的所有的数据结构。
1号进程一开始是内核进程,先执行init()函数完成内核初始化,然后调用exec()装入可执行程序init(),这样
init就变成可一个普通进程,1号进程也叫做systemed进程,是所有普通进程的父亲,所有普通进程由它创建。
在系统关闭之前,init进程一直存活,因为它创建和监控在操作系统外层执行的所有进程的活动。
2号进程
是一个内核进程,是所有内核进程的祖先

边栏推荐
猜你喜欢

vim 从嫌弃到依赖(20)——global 命令

L'introduction en bourse de Wild Wind Pharmaceutical a pris fin: Yu pinzeng, qui avait l'intention de lever 540 millions de RMB, a effectué un investissement P2P.

05 observer mode

【批处理DOS-CMD命令-汇总和小结】-输出/显示命令——echo

索引+sql练习优化

Refer to | the computer cannot access the Internet after the hotspot is turned on in win11

Reference | upgrade win11 mobile hotspot can not be opened or connected

The IPO of Yefeng pharmaceutical was terminated: Yu Feng, the actual controller who had planned to raise 540million yuan, made P2P investment

關聯GIS:條條道路通UE5城

UE5神通--POI解决方案
随机推荐
Mapping of Taobao virtual product store opening tutorial
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
2022.06.26(LC_6100_统计放置房子的方式数)
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
Publications under nature, science and cell
[daily practice] realization of product card animation effect
无论LCD和OLED显示技术有多好,都无法替代这个古老的显示数码管
If xn > 0 and X (n+1) /xn > 1-1/n (n=1,2,...), Prove that the series Σ xn diverges
【批处理DOS-CMD命令-汇总和小结】-环境变量、路径变量、搜索文件位置相关指令——set、path、where,cmd命令的路径参数中有空格怎么办
Creation process and memory layout of objects at JVM level
爬一个网页的所有导师信息
Redis的持久化机制
【批处理DOS-CMD命令-汇总和小结】-批处理命令中的参数%0、%1、%2、%[0-9]、%0-9和批处理命令参数位置切换命令shift,dos命令中操作符%用法
盲测调查显示女码农比男码农更优秀
Coggle 30 days of ML July competition learning
What is futures reverse documentary?
Associated GIS: all roads lead to ue5 City
oracle用一条sql查出哪些数据不在某个表里
【批处理DOS-CMD命令-汇总和小结】-输出/显示命令——echo
第十一章 信号(一)- 概念