![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
操作系统
_Rick_
fighting。。。。。
展开
-
Fork使用
#include #include #include using namespace std; int main(){ printf("%d\n",getpid()); fork(); printf("%d\n",getpid()); fork(); printf("%d\n",getpid()); fork(); printf("%d原创 2016-01-06 21:40:59 · 350 阅读 · 0 评论 -
进程线程调度 FCFS
package PCProgram; public class FCFSProcess { public static void main(String[] args) { MyQueue myqueue = new MyQueue();// 声明队列 PCB[] pcb = { new PCB("进程1", 8), new PCB("进程2", 7), new PCB("进程3"原创 2015-12-26 20:33:06 · 409 阅读 · 0 评论