-
实现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进行进制转换的例子
用delphi进行进制转换的例子-used for the base for the conversion examples
- 2022-08-18 13:09:23下载
- 积分:1
-
港台五张 港台五张
港台五张 港台五张 -RTHK Hong Kong and Taiwan 5 5 5 Hong Kong and Taiwan
- 2023-06-05 06:05:03下载
- 积分:1
-
注册/反注册OCX,DLL的例子
注册/反注册OCX,DLL的例子-registration/anti-registered OCX, DLL example
- 2022-10-22 04:25:04下载
- 积分:1
-
完成Windows程序中计算器中的所有功能,使用类似Windows计算器的图形界面;
(2) 使用可视化方法设计,并编写合适的按钮和菜单事件代码;
(3...
完成Windows程序中计算器中的所有功能,使用类似Windows计算器的图形界面;
(2) 使用可视化方法设计,并编写合适的按钮和菜单事件代码;
(3) 使用delphi语言编写代码
程序具有处理异常的能力,以防止用户输入和操作错误而导致的异常-complete Windows calculator procedures of all functions, similar to the Windows Calculator graphics interface; (2) the use of visualization methods to the design, and to prepare the appropriate buttons and menus incident code; (3) the use of delphi language code procedures to deal with unusual capabilities, to prevent the user input and operational errors which led to the abnormal
- 2023-05-05 07:25:02下载
- 积分:1
-
in Delphi Windows HTML help files online example
在Delphi中使用Windows的HTML联机说明档的例子-in Delphi Windows HTML help files online example
- 2022-02-04 00:28:59下载
- 积分:1
-
snmp设计增加相应SNMP的OID,是实时处理的.
snmp设计增加相应SNMP的OID,是实时处理的.-snmp designed to increase the corresponding SNMP-OID, is a real-time processing.
- 2023-05-08 11:05:03下载
- 积分:1
-
一个蛋形提示控件
一个蛋形提示控件-an egg shape suggested Controls
- 2022-01-21 18:13:16下载
- 积分:1
-
自动更新程序
自动更新程序 -Automatic Update Automatic Update
- 2022-04-24 05:45:03下载
- 积分:1
-
delphi控件源码:包含十四种控件的拓展功能:1、带CheckBox的GroupBox。当处于选中状态时,GroupBox中的控件是可用的,否则是不可用的。2...
delphi控件源码:包含十四种控件的拓展功能:1、带CheckBox的GroupBox。当处于选中状态时,GroupBox中的控件是可用的,否则是不可用的。2、可自定义图标、文字的DBNavigator控件。3、可控制窗体中输入焦点的跳转顺序。4、图形按钮控件,可指定正常状态、鼠标指向、鼠标按下时的图片。可做出类似金山毒霸2001中的按钮效果。...
-delphi source code control: contains 14 kinds of controls the expansion of functions: 1, with CheckBox the GroupBox. When in the selected state, GroupBox controls in are available, otherwise it is unavailable. 2, can be custom icon, text DBNavigator control. 3, can control the form of the jump in the order of input focus. 4, graphics, button controls, may designate a normal state, mouse, mouse click when the picture. Can make similar Kingsoft button effect in 2001. ...
- 2022-06-29 11:59:37下载
- 积分:1