-
实现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
-
外网IP查询,就是教给大家如何取得本地点电脑的外网IP地址的方法...
外网IP查询,就是教给大家如何取得本地点电脑的外网IP地址的方法-Outside the IP network query, that is, to teach you how to obtain the location of the computer s IP address outside the network approach
- 2022-04-12 22:52:49下载
- 积分:1
-
computer room management system
计算机房管理系统-computer room management system
- 2022-01-27 11:09:56下载
- 积分:1
-
Chapter 2 " BASM (Borland assembler language) the essence" of all the s...
第2章“BASM(Borland汇编语言)精要”中的全部示例代码。包括:
目录 描述
------------------------------------------------------------------------------
DEMO1 演示如何在BASM中调用Delphi Functions。
DEMO2 演示如何在BASM中调用Windows API。
DEMO3 演示如何在BASM中使得“jmp proc”执行后返回到下一行。-Chapter 2 " BASM (Borland assembler language) the essence" of all the sample code. Include: directory description---------------------------------------------- demonstrate how-------------------------------- DEMO1 call BASM at Delphi Functions. BASM at DEMO2 demonstrate how to call Windows API. BASM at DEMO3 demonstration of how to make " jmp proc" implementation back to the next line.
- 2022-12-28 01:20:03下载
- 积分:1
-
Through this program will be the amount converted to uppercase lowercase! For no...
通过本程序实现将小写金额转换为大写!用于新手学习!-Through this program will be the amount converted to uppercase lowercase! For novices to learn!
- 2022-05-26 13:03:27下载
- 积分:1
-
制作 Microsoft ISAPI Extention 应用程序的构件
制作 Microsoft ISAPI Extention 应用程序的构件-production Slade Microsoft ISAPI application components
- 2022-05-30 08:43:14下载
- 积分:1
-
功能和DELPHI的窗体设计器相同的控件,可让你的程序在运行时设计窗体。
解压后有个FormDesigner.bpl,将它add到component中,编...
功能和DELPHI的窗体设计器相同的控件,可让你的程序在运行时设计窗体。
解压后有个FormDesigner.bpl,将它add到component中,编译的时候,请将lib路径加上解压的目录。
或者将DesignCommon.dcu、FormDesigner.dcu、ObjectInsp.dcu、WsPopupList.dcu、ObjectInsp.dfm、WsPopupList.dfm拷贝到你的工程文件的同一个文件夹中。不过把FormDesigner.bpl add到component中是需要的。-function and form design for the same control that will allow you to the procedures in operation at design forms. After extracting FormDesigner.bpl months, it will add to the component, compile time, I would be grateful if lib with decompression path to the directory. Or will DesignCommon.dcu, FormDesigner.dcu, ObjectInsp.dcu, WsPopupList.dcu, ObjectInsp.dfm, WsPopupList.dfm copy of your project documentation with a folder. But put FormDesigner.bpl add to the component is needed.
- 2023-01-27 20:05:04下载
- 积分:1
-
基于Bpl的delphi框架,简单易学,容易操作
基于Bpl的delphi框架,简单易学,容易操作-Bpl-based framework for the delphi, simple and easy to learn, easy to operate
- 2022-11-15 23:45:03下载
- 积分:1
-
label used for LCD manifestations
用于LCD显示的标签
- 2022-05-23 09:02:11下载
- 积分:1
-
delphi写的网络抓包工具,可以查看网卡接收到的网络数据,支持asii和hex两种模式...
delphi写的网络抓包工具,可以查看网卡接收到的网络数据,支持asii和hex两种模式-delphi write network capture tools, you can view the network adapter to receive data in support of the two modes asii and hex
- 2022-09-20 07:50:03下载
- 积分:1