原创宋宝华Linux阅码场2017-07-227.22日航天二院Linux讲座过程中手绘的图。这些图涉及进程调度、内存管理、设备驱动、BSP和DTS等方面。kernel和模块busybox进程生命周期fork,vfork,clone,pthread_create进程托孤僵尸memleakpagefaultdmacache一致性Linuxcounter,match与hrtimerexportsymb
分类:
系统相关 时间:
2020-12-05 10:30:13
阅读次数:
8
clone linux 创建线程(pthread_create)和进程(fork)的过程非常类似,都是主要依赖 clone 函数,只不过传入的参数不同而已。 如此一来,内核只需要实现一个 clone函数,就既能创建进程,又能创建线程了,例如; 创建进程: clone(SIGCHLD) 创建线程: c ...
分类:
编程语言 时间:
2020-12-04 11:36:29
阅读次数:
13
Difficulty: Medium Related Topics: Depth-first Search, Breadth-first Search, Graph, Topological Sort Link: https://leetcode.com/problems/course-schedu ...
分类:
其他好文 时间:
2020-12-02 12:03:00
阅读次数:
4
Java常用类、集合、IO 常用类 Object hashCode() toString() clone() getClass() notify() wait() equals() Math 常用的数学运算 Random 生成随机数 UUID File 创建文件 查看文件 修改文件 删除文件 包装类 ...
分类:
编程语言 时间:
2020-12-01 12:40:11
阅读次数:
12
自动补全、回滚!介绍一款可视化sql诊断利器「点击图片获取最近两年爆款好文」Yearning简介YearningMYSQL是一个SQL语句审核平台。提供查询审计,SQL审核等多种功能,支持Mysql,可以在一定程度上解决运维与开发之间的那一环,功能丰富,代码开源,安装部署容易!项目地址:https://gitee.com/cookieYe/Yearning注意:Yearning1.x版本需ince
分类:
数据库 时间:
2020-12-01 11:43:44
阅读次数:
6
根据上图, 构造出来的最小生成树的权值和应为 16. 主要部分代码: /** * 将最小生成树保存为邻接表存储的图 MST, 返回最小权重和 * @param Graph * @param MST 即 Minimun-cost Spanning Tree 最下生成树 * @return */ int ...
分类:
编程语言 时间:
2020-11-30 15:25:45
阅读次数:
4
引脚 功能图示 湿度检测范围 : 20-80% (5% 精度) 温度检测范围 : 0-50°C (±2°C 精度) 接线 用了 引脚 1,18,20 。 引脚 1 -- 3.3V正极, 引脚 18 -- 数据, 引脚 10 -- 负极, sudo git clone https://github.c ...
分类:
其他好文 时间:
2020-11-25 13:01:56
阅读次数:
22
#include<bits/stdc++.h> #define ll long long #define N 100015 #define rep(i,a,n) for (int i=a;i<=n;i++) #define per(i,a,n) for (int i=n;i>=a;i--) #def ...
分类:
其他好文 时间:
2020-11-25 12:45:31
阅读次数:
4
1. 下载 Eigen3 源码 官网:http://eigen.tuxfamily.org/index.php?title=Main_Page 按照官网提示,git clone Eigen3。 git clone https://gitlab.com/libeigen/eigen.git 2. 安装 ...
分类:
系统相关 时间:
2020-11-25 12:20:33
阅读次数:
12
#include<stdio.h> #include<windows.h> #include<graphics.h> #include<atlimage.h> int main() { //system("adb pull /sdcard/screen.png"); //system("adb sh ...
分类:
数据库 时间:
2020-11-24 12:38:06
阅读次数:
10