-
实现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
-
SUISkin Delphi和C++ Builder开发用户最
SUISkin 是为Delphi和C++Builder开发的最易用的界面增强VCL组件包。它能完全自动的为您的应用程序添加支持换肤功能,甚至不需要更改您的设计好的Form以及添加一行代码!您也不再需要花费很多时间来使得自己的应用程序更漂亮。-SUISkin for Delphi and C++ Builder to develop the most user-friendly interface enhanced VCL component package. It completely automated for your application to add functionality to support the skin, do not even need to change the design of your Form, and add a good line of code! You can also no longer need to spend a lot of time to make their applications more beautiful.
- 2022-03-14 09:02:58下载
- 积分:1
-
delphi scene 线 的特殊效果
delphi scene 线 的特殊效果-delphi scene special effects line
- 2022-06-26 03:42:06下载
- 积分:1
-
落雪内存智能整理源代码
有兴趣的
落雪内存智能整理源代码
有兴趣的-Intelligent memory落雪collate the source code has interested
- 2023-04-14 17:50:03下载
- 积分:1
-
从注册表中取得CPU负荷,并计算出所占CPU的百分比。
从注册表中取得CPU负荷,并计算出所占CPU的百分比。-Obtained from the registry CPU load, and calculate the percentage share of CPU.
- 2023-05-06 02:40:03下载
- 积分:1
-
The delphi text editor designed for the txt file editor designed to give the com...
文本编辑器的delphi设计,用于txt文件的编辑,给出了设计的完整程序-The delphi text editor designed for the txt file editor designed to give the complete procedure
- 2022-04-13 08:16:34下载
- 积分:1
-
Program license component suite with full source codes
Program license component suite with full source codes
- 2023-04-15 12:00:03下载
- 积分:1
-
如何使用脚本的OCX控件的例子
如何使用MS Script OCX控件的例子-how to use MS Script OCX controls example
- 2022-01-26 02:49:32下载
- 积分:1
-
这个PNG Delphi版1.56文件(这个版本是一个重大的改写为…
This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2).
Improvements in this new version includes:
This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable.
Read more about this feature here.
Most, if not all, Portable Network Graphics features as CRC checking are now fully performed.
Error on broken images are now better handled using new exception classes.
The images may be saved using interlaced mode also.
Transparency information won t be discarted after the image is loaded any more.
Most of the images are decoded much faster now.
The images will be better encoded using fresh new algorithms.
IMPORTANT! Now transparency information is used to display images.
-Delphi version 1.56 documentat ion (this version is a major rewrite intended to replace the previous version. 1.2). Improvements in thi
- 2022-03-25 09:57:05下载
- 积分:1
-
息时代的高速发展,电脑管理代替人工管理的应用越来越广泛,已经深入到人们的日常生活中。各种各样的管理系统踊跃出现。各种编程语言的出现为开发管理系统提供了直接的开发...
息时代的高速发展,电脑管理代替人工管理的应用越来越广泛,已经深入到人们的日常生活中。各种各样的管理系统踊跃出现。各种编程语言的出现为开发管理系统提供了直接的开发平台。尤其是面向对象程序设计语言vc++、delphi、sql的出现更加简洁了管理系统的开发。-income era of rapid development, the computer managed to replace artificial management applications have become wider, and has penetrated into people"s daily life. A variety of active management system there. Various programming languages for the development of the emergence of the management system provides direct development platform. In particular, object-oriented programming language vc, delphi, sql the emergence of a more concise management systems development.
- 2023-08-16 20:00:03下载
- 积分:1