-
实现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
-
适应快速repport德尔福
Quicke Repport adaptation for Delphi
- 2022-02-12 10:49:34下载
- 积分:1
-
None Packed 及 Packed 两种动态数组构件 ( 附源码 ),
None Packed 及 Packed 两种动态数组构件 ( 附源码 ),-None Packed and Packed two dynamic array elements (FOSS),
- 2022-05-21 08:48:13下载
- 积分:1
-
注册/反注册OCX,DLL的例子
注册/反注册OCX,DLL的例子-registration/anti-registered OCX, DLL example
- 2022-10-22 04:25:04下载
- 积分:1
-
开发环境:== EasyPHP 1.7
== Microsoft window 2000
== IE 6.0
== apache 1.3.27...
开发环境:== EasyPHP 1.7
== Microsoft window 2000
== IE 6.0
== apache 1.3.27
== php 4.3.3
-Development environment: == EasyPHP 1.7 == Microsoft window 2000 == IE 6.0 == apache 1.3.27 == php 4.3.3
- 2022-08-08 10:03:14下载
- 积分: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
-
asp.net (C#) 利用delphi ActiveForm 打印实例
asp.net (C#) 利用delphi ActiveForm 打印实例-asp.net (C#) using delphi ActiveForm Print examples
- 2022-10-02 05:20:03下载
- 积分:1
-
计算机移动设备的管理工具
1、U盘的开启及禁用
2、开启与禁用所有USB设备
3、开启与禁用光驱
4、开启与禁用软驱
很简单的小工具,怡笑大...
计算机移动设备的管理工具
1、U盘的开启及禁用
2、开启与禁用所有USB设备
3、开启与禁用光驱
4、开启与禁用软驱
很简单的小工具,怡笑大方!-mobile computer equipment a management tool, U plate and the opening of two banned. Open and banned all three USB devices, and banned the opening drive 4, opened with the banned floppy drive is very simple small tools, Yue, generous laugh!
- 2022-03-03 03:57:04下载
- 积分:1
-
Delphi Video Control (Demo+ source) SendMessage to do video capture, do not driv...
dephi视频控制(Demo+源码) SendMessage做视频捕获,不要驱动-Delphi Video Control (Demo+ source) SendMessage to do video capture, do not drive
- 2022-01-25 14:14:02下载
- 积分:1
-
简单实现计算机与单片机串口通讯调试程序,可以传输数据也可以传输文件
简单实现计算机与单片机串口通讯调试程序,可以传输数据也可以传输文件-Realize single-chip computer and a simple serial communication debugger, you can transfer data can also transfer files
- 2023-08-08 09:05:04下载
- 积分:1