-
实现UP、DOWN原语
产生3个进程:
两个进程模拟需要进入临界区的用户进程。
当需要进入临界区时,显示:“进程x请求进入临界区…”,同时向管理进程...
实现UP、DOWN原语
产生3个进程:
两个进程模拟需要进入临界区的用户进程。
当需要进入临界区时,显示:“进程x请求进入临界区…”,同时向管理进程提出申请;
申请返回,表示进入了临界区。在临界区中等待一段随机时间,并显示:“进程x正在临界区…”;
当时间结束,显示:“进程x退出临界区…”,同时向管理进程提出退出申请;
当申请返回,显示:“进程x已退出临界区。”
一个进程作为原语的管理进程,接受其他进程的临界区进入请求:
如果允许进入,则根据DOWN 原语的操作步骤设置相应变量,然后返回;
如果不允许进入,则进入循环等待,直到允许为止;
退出时模拟UP 操作。
进程间通信可以采用信号、消息传递、管道或网络通信方式。
-achieve UP, DOWN original language have three processes : process simulation of two critical needs for access to the users in the process. When the need to access critical areas, revealed : "The process of x request to enter the critical areas ...", and also to the management process applications; applied to return, entered a critical area. In the critical area to wait for a certain period of time random, and that : "the process of x is the critical area ..."; When the time ended, showed : "x withdraw from the process of critical areas ...", and also to withdraw from the process management applications; When applied to ret
- 2023-08-26 18:05:03下载
- 积分:1
-
一个在dll中的通过UDP传送信息.rar
一个在dll中的通过UDP传送信息.rar-In dll,sending message by UDP.rar
- 2022-07-18 05:15:55下载
- 积分:1
-
TCPServer(IOCPServer) Socket 大容量网络服务器解决方案
大容量网络服务器解决方案,可达到每服务器支持超多8万人在线(保持8万个...
TCPServer(IOCPServer) Socket 大容量网络服务器解决方案
大容量网络服务器解决方案,可达到每服务器支持超多8万人在线(保持8万个以上的TCP长连接)-TCPServer (IOCPServer) Socket large capacity network server solutions for large-capacity network server solution that can reach every server to support more than 8 million people in super-line (to keep more than 80,000 long TCP connection)
- 2022-06-29 17:30:19下载
- 积分:1
-
Delphi COM插件
delphi com addin
- 2022-11-17 06:35:04下载
- 积分:1
-
TMS 4.8 Full Source Code
我在找VCLSkin ,哪里有啊?
TMS 4.8 Full Source Code
我在找VCLSkin ,哪里有啊?-TMS 4.8 Full Source Code I am looking for VCLSkin, where ah?
- 2022-04-26 10:11:57下载
- 积分:1
-
一个简单的RICH聊天程序
一个简单的RICH聊天程序-a simple chat program RICH
- 2022-02-22 05:00:38下载
- 积分:1
-
This system is mainly divided into 11 sub
本系统主要划分为11个子模块:与操作员有关的文献刊物入库、出库、库结存和文献刊物查询,修改密码,注销,帮助等模块;与计算机管理员有关的在此基础上添加了报表打印,操作员管理,文献刊物编号管理,文献刊物出版社管理等。-This system is mainly divided into 11 sub-modules: with the operators of storage-related literature publications, a library, bank balances and documentation Publications query, modify your password, write-off to help, such as module and computer-related administrators on the basis of added Statement printing, operator management, literature publication number management, literature publishing house publications management.
- 2022-02-04 23:57:19下载
- 积分:1
-
Rooms of the state disk code! Rooms site of the state code!
房间的状态盘代码!房间所在地的州代码!
- 2023-06-23 13:10:04下载
- 积分:1
-
delpi的函数查询工具DELPHI相关源码下载,作品发布,个性论坛
delpi的函数查询工具DELPHI相关源码下载,作品发布,个性论坛
-delpi a function of query tools DELPHI related source download, works published, personalized forum
- 2022-04-10 10:44:58下载
- 积分:1
-
three Delphi source code to conceal and patches, suitable to the three
Delphi三层原代码掩饰及补丁,适合想向三层方法发展的入门和提高者。-three Delphi source code to conceal and patches, suitable to the three-tier approach to the development of entry and who.
- 2022-03-17 21:03:30下载
- 积分:1