-
实现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
-
Delphi realize PocketPC communications procedures
实现PocketPC通信的Delphi程序-Delphi realize PocketPC communications procedures
- 2022-06-28 15:44:13下载
- 积分:1
-
this sample code discripe how to use try icon in system try in delphi language
this sample code discripe how to use try icon in system try in delphi language
- 2022-05-15 11:37:23下载
- 积分:1
-
串口通讯,主要针对单板机进行开发
串口通讯,主要针对单板机进行开发-serial communications, mainly for the development of F14
- 2022-12-16 00:15:03下载
- 积分:1
-
delphi write game accelerator, is very simple and practical, but do not say that...
delphi写的游戏加速器,非常简单而实用,但不要说这个没有,很多游戏客户端都有它的影子,目的是为了降低因为网速造成的游戏卡机情况,这也就是为什么玩官方的游戏不卡的情况,不仅仅是官方的设备好-delphi write game accelerator, is very simple and practical, but do not say that no, a lot of game client has its own shadow, because the aim is to reduce speed in order to cause the game card machine, which is why playing games is not the official cards, the official equipment is not only good
- 2023-08-31 05:15:03下载
- 积分:1
-
POP3弱口令扫描
DELPHI开发制作
POP3弱口令扫描
DELPHI开发制作-POP3 weak password production scanning DELPHI
- 2022-03-17 09:54:30下载
- 积分:1
-
delphi中拷贝文件的源代码(与processbar相结合)
delphi中拷贝文件的源代码(与processbar相结合)-copy the source code (processbar combined)
- 2023-08-09 03:10:03下载
- 积分:1
-
使用ADO连接数据库
使用ADO连接数据库-use ADO to connect to the database
- 2022-10-16 00:20:03下载
- 积分:1
-
发送电子邮件的一个例子,以前的程序已经做了使用它,你C
发送EMail的一个例子,以前用它编过程序,可以使用,delphi6-Send EMail an example of the previous procedures have been made to use it, you can use, delphi6
- 2022-02-28 21:20:40下载
- 积分:1
-
能够计算复数 (Complex) 的单元 ( 1.0 版,附源码) 。 作者 : Peter Thvrnqvist...
能够计算复数 (Complex) 的单元 ( 1.0 版,附源码) 。 作者 : Peter Thvrnqvist -to calculate the plural (Complex) Module (Version 1.0, with source). Author : Peter Thvrnqvist
- 2022-02-15 00:31:03下载
- 积分:1