04 2023 档案

摘要:1、进程调度函数 void schedule(void) { int i,next,c; struct task_struct ** p; /* check alarm, wake up any interruptible tasks that have got a signal */ for(p 阅读全文
posted @ 2023-04-20 00:03 zwj鹿港小镇 阅读(22) 评论(0) 推荐(0) 编辑
摘要:1、进程的结构 //task即进程的意思,这个结构体把进程能用到的所有信息进行了封装 struct task_struct { /* these are hardcoded - don't touch */ long state; //程序运行的状态/* -1 unrunnable, 0 runna 阅读全文
posted @ 2023-04-17 14:12 zwj鹿港小镇 阅读(66) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示