-
实现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串口通讯程序-Delphi serial communication program
- 2023-04-05 21:20:04下载
- 积分:1
-
Delphi B/S programming skills sets (29
Delphi2005 B/S程序设计技巧集(29--33)
现在delphi 2005 B/S的书籍资料太少,几乎没有可参考的资料,这在一定程度上限制了delphi 2005的使用,相反C#,ASP的书籍资料到处都是。通过几个月的学习也算是总结了一点经验,从现在起我将陆续将ASP和C#的例子、技巧翻译到delphi 2005下面,希望对大家的学习和工作有帮助,毕竟.Net是一种发展趋势。我将不定期写新的内容,同时,如果你在工作或学习中有什么问题,我也会将问题加入本篇文章,另外,一个人的能力毕竟有限,也希望大家共同来解决问题。
宋雨炫
-Delphi B/S programming skills sets (29-- 33) is now delphi 2005 B/S books so little information, almost no reference to the information, This, to a certain extent, limit the use of Delphi 2005, C# contrary, ASP information books are everywhere. Through several months of learning is also summed up the experiences that from now on I will continue, ASP and C# example, delphi translation skills to below 2,005, we hope to study and work there to help, After all. Net is a development trend. From time to time I will write the new content, and if you work or study any problem, I will also take the issue into this article, in addition to the ability of a person is limited, I hope we can jointly to solve the problem. SONG X
- 2023-01-26 07:20:04下载
- 积分:1
-
传世源码可编译的,功能齐全.是学习的好模版,会DELPHI的朋友们也可以自己修改,弄个自己的引擎....
传世源码可编译的,功能齐全.是学习的好模版,会DELPHI的朋友们也可以自己修改,弄个自己的引擎.-传世source can be compiled, full-featured. Is to learn from a good template will DELPHI friends can also make amendments on her own弄个their own engines.
- 2022-03-17 03:18:34下载
- 积分:1
-
Program for map
Program for map-led project on delphi+ATMega16
- 2022-04-01 04:25:21下载
- 积分: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
-
ABC_Joiner1.23+Delphi.rar
提供学习
ABC_Joiner1.23+Delphi.rar
提供学习-ABC_Joiner1.23+ Delphi.rar provide learning
- 2022-07-18 12:51:15下载
- 积分:1
-
万能流化单元,可以反向完美流化任何TComponent组件,并不单单是TForm...
万能流化单元,可以反向完美流化任何TComponent组件,并不单单是TForm-omnipotent flow of modules can be reversed perfect flow of any TComponent components, is not merely TForm
- 2023-09-06 11:10:03下载
- 积分:1
-
图书馆管理系统,SQL Server2000。TADOQuery组件的使用
图书馆管理系统,SQL Server2000。TADOQuery组件的使用-Library management system, SQL Server2000. TADOQuery the use of components
- 2022-03-26 14:51:51下载
- 积分:1
-
很不错的活动工具窗口控件代码,效果类似PHOTOSHOP,任意拖动
很不错的活动工具窗口控件代码,效果类似PHOTOSHOP,任意拖动-Activity is very good tool for window control code, the effect of similar PHOTOSHOP, arbitrary drag
- 2023-03-05 19:45:03下载
- 积分:1