
操作系统
要身心健康
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
实验四 进程通信
宏定义 https://www.cnblogs.com/fnlingnzb-learner/p/6903966.html 命名管道参考文章: https://blog.youkuaiyun.com/MoreWindows/article/details/8260087?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.原创 2020-05-28 22:34:09 · 1347 阅读 · 0 评论 -
实验三 线程互斥
用 临界区 函数实现 互斥 open/createMutex 区别 https://www.cnblogs.com/staring-hxs/p/3664765.html #include <iostream> #include <windows.h> using namespace std; static HANDLE hHandle1,hHandle2= NULL; DWORD h1,h2;//用于存储线程标识符的变量 LPCRITICAL_SECTION lpCritic原创 2020-05-28 22:33:42 · 723 阅读 · 0 评论 -
实验二 线程同步
阅读本文须知: 主看代码——>不理解,看知识点or询问老师同学 知识点——os理论上信号量及pv操作 与 实际代码 的联系:https://www.cnblogs.com/staring-hxs/p/3665936.html 知识点——WaitForSingleObject https://zhidao.baidu.com/question/237832055.html <复杂> https://blog.youkuaiyun.com/G453473123/article/details/105原创 2020-05-28 22:34:36 · 1153 阅读 · 0 评论