- 博客(2)
- 收藏
- 关注
原创 2020-12-19
MM #include <linux/module.h> #include <linux/init.h> #include <linux/mm.h> #include <linux/sched.h> static int pid; module_param(pid, int, 0644); static void printit(struct task_struct *tsk) { struct mm_struct *mm; struct vm_
2020-12-19 20:32:31 72 1
原创 2020-12-19
linux下的多P-C问题 #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<semaphore.h> #include<pthread.h> int PRODUCER; //生产者数量 int CONSUMER; //消费者数量 int BUFFER;//缓冲区数量 int k[100]; int flagp[100]; int flagc[100
2020-12-19 20:15:53 129 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人