
操作系统实验
文章平均质量分 51
张学恒
这个作者很懒,什么都没留下…
展开
-
操作系统实验十:进程同步 软件&硬件方法(DAY 55)
文章目录1:实验目的2:实验三3:实验四 1:实验目的 2:实验三 实验三: #include<stdio.h> #include<string.h> #include<pthread.h> #include<unistd.h> #include<stdbool.h> static int tickets=20; bool lock=false; bool test_and_set(){ if(lock==fals原创 2022-05-04 18:54:09 · 688 阅读 · 0 评论 -
操作系统实验课六线程实验(DAY 34)
操作系统中线程的实现和打印矩阵的实际应用,为以后加速做铺垫。原创 2022-04-13 12:09:30 · 1663 阅读 · 0 评论