-
实现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
-
Serial CPort development control, serial port for Delphi development process, ve...
CPort串口开发控件,用于Delphi开发串口程序,版本3.10,实时性比较好-Serial CPort development control, serial port for Delphi development process, version 3.10, better real-time
- 2022-10-23 05:50:03下载
- 积分:1
-
This is a relevant example of document management, we hope to help
这是一个有关文件管理的例子,希望对大家有帮助,-This is a relevant example of document management, we hope to help
- 2023-08-01 13:15:03下载
- 积分:1
-
Find file delphi full source code, you can under the d7 and windows xp the compi...
查找文件
delphi 完全原代码,可以在d7 and windows xp下编译通过-Find file delphi full source code, you can under the d7 and windows xp the compiler through
- 2022-07-07 23:39:55下载
- 积分:1
-
简单的电话录音源码,具备来电显示、应答、呼叫等功能。
简单的电话录音源码,具备来电显示、应答、呼叫等功能。-Simple telephone record source program with the function of Show Phone Number, answer and call.
- 2022-07-23 02:14:45下载
- 积分:1
-
俄罗斯方块,经典游戏源码,看后可以试着自己做个
俄罗斯方块,经典游戏源码,看后可以试着自己做个-Tetris, classic games source code to see if you can try their own to be a post-
- 2022-04-26 14:14:25下载
- 积分:1
-
用delphi编的播放器程序,能播放rm,avi格式的视频文件,适合于delphi的初学者阅读模仿...
用delphi编的播放器程序,能播放rm,avi格式的视频文件,适合于delphi的初学者阅读模仿 -series with the player program, can play rm, avi video file format suitable for beginners delphi reading imitate
- 2022-07-09 14:34:57下载
- 积分:1
-
这个软件是用Delphi 7开发的。
原本它是两个人在纸面上玩的益智游戏,转移到电脑上后我给它添加了人机对奕和网络对战的功能。
在本源码中你
这个软件是用Delphi 7开发的。
原本它是两个人在纸面上玩的益智游戏,转移到电脑上后我给它添加了人机对奕和网络对战的功能。
在本源码中你可以看到电脑AI实现方法,ClientSocket,ServerSocket的使用,控件的编写,ListBox的OwnerDraw的实现等等技巧。
请先安装里面的GridPanel控件才可正常编译。
永远支持Delphi! -The software is developed with Delphi 7. Originally it was two people playing on paper puzzle game, transfer to your computer to it after I added a human-computer war games and network functions. In this source you can see the computer AI method, ClientSocket, ServerSocket use, control of the preparation, ListBox, etc. The realization of OwnerDraw skills. Please install inside GridPanel normal controls in order to compile. Forever in support of Delphi!
- 2022-04-12 07:34:42下载
- 积分:1
-
用于播放AVI文件
Useful for Playing AVI Files
- 2022-07-24 12:36:19下载
- 积分:1
-
一个用Delphi编制的遗传算法程序,依据差异进化的原理实现最优化。...
一个用Delphi编制的遗传算法程序,依据差异进化的原理实现最优化。-GA source codes programmed with Delphi.
- 2022-07-12 09:33:31下载
- 积分:1