操作系统
要身心健康
这个作者很懒,什么都没留下…
展开
-
实验四 进程通信
宏定义https://www.cnblogs.com/fnlingnzb-learner/p/6903966.html命名管道参考文章:https://blog.csdn.net/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 · 1205 阅读 · 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 · 653 阅读 · 0 评论 -
实验二 线程同步
阅读本文须知:主看代码——>不理解,看知识点or询问老师同学知识点——os理论上信号量及pv操作 与 实际代码 的联系:https://www.cnblogs.com/staring-hxs/p/3665936.html知识点——WaitForSingleObjecthttps://zhidao.baidu.com/question/237832055.html<复杂>https://blog.csdn.net/G453473123/article/details/105原创 2020-05-28 22:34:36 · 1014 阅读 · 0 评论