-
实现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
-
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
-
ICS网络控制
ics Internet 控件-ICs Internet Controls
- 2022-01-21 17:26:42下载
- 积分:1
-
简单的电话录音源码,具备来电显示、应答、呼叫等功能。
简单的电话录音源码,具备来电显示、应答、呼叫等功能。-Simple telephone record source program with the function of Show Phone Number, answer and call.
- 2022-07-23 02:14:45下载
- 积分:1
-
自己的写的:delphi调用orcl函数
利用orcl 函数生成32位唯一id的小例子....
自己的写的:delphi调用orcl函数
利用orcl 函数生成32位唯一id的小例子.-own writing : delphi call orcl function using orcl function generated only 32 id small examples.
- 2022-02-05 22:23:19下载
- 积分:1
-
DB Delphi dwscript为semlpe hzdb Delphi dwscript为semlpe hzdb Delphi dwscri…
DB Delphi Dwscript For Semlpe HZD B Delphi Dwscript For Semlpe HZDB Delphi Dwscript For Semlpe HZ-DB Delphi Dwscript For Semlpe HZDB Delphi Dwscript For Semlpe HZDB Delphi Dwscript For Semlpe HZDB Delphi Dwscript For Semlpe HZ
- 2022-05-24 00:06:06下载
- 积分:1
-
kbmmw是另外一个用于Internet分布式数据库开发的控件,可以用于Delphi和C++Builder...
kbmmw是另外一个用于Internet分布式数据库开发的控件,可以用于Delphi和C++Builder-kbmmw is another one for Internet development of the Distributed Database controls can be used to Delphi and C Builder
- 2023-03-08 14:10:03下载
- 积分:1
-
非常棒的一组控件
非常棒的一组控件-wonderful a group of controls
- 2022-02-03 05:01:43下载
- 积分:1
-
delphi数据库
delphi数据库-delphi database
- 2022-01-26 01:14:38下载
- 积分:1
-
意大利人,长期从事Delphi开发及教学工作, 《Delphi入门到精通》 及 《Delphi 开发人员手册》的作者,本书《Essential Pascal》1...
意大利人,长期从事Delphi开发及教学工作, 《Delphi入门到精通》 及 《Delphi 开发人员手册》的作者,本书《Essential Pascal》1999年10月完成。-Italian, Delphi has long been engaged in the development and teaching work,
- 2022-07-01 12:02:31下载
- 积分:1