-
实现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 was a small desktop calendar Yes!
Delphi写的小型桌面日历不错的!-Delphi was a small desktop calendar Yes!
- 2022-06-17 01:08:29下载
- 积分:1
-
delphi,实现ado分页实现。这是转载。
delphi,实现ado分页实现。这是转载。-delphi achieve ado Pagination achieve. This is reproduced.
- 2022-04-13 00:01:17下载
- 积分:1
-
多数代码可以直接在Delphi6和Delphi7环境下运行。部分涉及.NET技术内容的代码,需要在Delphi 7上安装Borland .NET Complie...
多数代码可以直接在Delphi6和Delphi7环境下运行。部分涉及.NET技术内容的代码,需要在Delphi 7上安装Borland .NET Complier for Delphi编译器方可编译执行。Borland已经正式推出Delphi 8 for .NET,所以本书范例中部分内容可能与D8最终版本不符。-most directly in the code and Delphi6 Delphi7 operating environment. Some involved.NET technology content of the code, the need to install Delphi 7 Borland.NET Complier for Delphi compiler can compile implementation. Borland has officially launched for Delphi 8.NET, the book example might be part of the final version D8 inconsistent.
- 2022-04-17 09:15:14下载
- 积分:1
-
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线...
一款价值无量的曲线控件,只要在数据库导就可生成漂亮的拟合曲线
- 2022-06-19 00:09:55下载
- 积分:1
-
Is a lunar calendar of the end zone, and a considerable and an electronic calend...
是一个 带阴历的 几时器,相当与一个电子台历,很不错,可能有朋友需要-Is a lunar calendar of the end zone, and a considerable and an electronic calendar, it is true that there may be a friend needs
- 2023-02-08 03:20:03下载
- 积分:1
-
Indy Control example, the use of Indy Control of the port mapping functions.
Indy控件示例程序,使用Indy控件实现了端口映射功能。-Indy Control example, the use of Indy Control of the port mapping functions.
- 2023-01-19 02:45:03下载
- 积分:1
-
源码教程,介绍了delphi环境下的链表创建及操作,并在文档中介绍了与C语言中的区别。...
源码教程,介绍了delphi环境下的链表创建及操作,并在文档中介绍了与C语言中的区别。-Source Tutorials, introduced the delphi environment to create and manipulate linked lists, and in the document with the introduction of the difference between C language.
- 2022-03-12 01:45:35下载
- 积分:1
-
探听控件,你可以在分析网络数据包一看。
一个SNOOP控件,各位看看可以对网络包进行分析.-A SNOOP controls, you can take a look at the network packets for analysis.
- 2022-08-16 07:02:33下载
- 积分:1
-
您的旧的
Menu for your old delphi
- 2022-06-11 15:04:02下载
- 积分:1