-
实现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-based teaching software for English pronunciation of realize
- 2022-05-07 20:52:39下载
- 积分:1
-
周立功的读卡器mur
周立功的读卡器mur-100所有程序和代码-weeks meritorious reader mur-100 all the procedures and code
- 2022-04-27 16:35:01下载
- 积分:1
-
Delphi对源码进行排列
Delphi对源码进行排列-Delphi arranged for the source
- 2022-09-02 20:35:03下载
- 积分:1
-
繁简转换控件属性:Mode:(GBtoBig,BigtoGb)GbtoBig:进行简繁转换;BigtoGb:进行繁简转换;方法:SetString(ss:str...
繁简转换控件属性:Mode:(GBtoBig,BigtoGb)GbtoBig:进行简繁转换;BigtoGb:进行繁简转换;方法:SetString(ss:string)返回字符串ss的转换结果(返回繁,简体视mode设定而确定).-simplified change control attributes : Mode : (GBtoBig, BigtoGb) GbtoBig : for signpost; BigtoGb : for simplified conversion; Methods : SetString (ss : string) returns a string ss conversion results (to return to traditional and simplified characters, as defined set mode).
- 2023-07-22 20:55:03下载
- 积分:1
-
delph6.0关于物业管理的源码.rar
delph6.0关于物业管理的源码.rar-delph6.0 source on the property management. rar
- 2022-01-26 02:24:19下载
- 积分:1
-
康威的生命moltithread实现使用IOCP
Conway life moltithread implementation using IOCP
- 2023-07-18 07:10:03下载
- 积分:1
-
dephi编写的宿舍管理系统
dephi编写的宿舍管理系统-prepared by the hostel management system
- 2022-02-05 12:49:36下载
- 积分:1
-
ZipForge is a fast ZIP compression library. With this toolkit you can easily add...
ZipForge is a fast ZIP compression library. With this toolkit you can easily add archive functionality to your projects. ZipForge includes our new unique techonology, a transaction system. This innovative solution gives you a fast and easy way of updating archive files providing data integrity like a reliable database system. ZipForge Personal is free for personal use. Any company that uses ZipForge in its projects must order ZipForge Pro.-ZipForge is a fast ZIP compression library. With this toolkit you can easily add archive functionality to your projects. ZipForge includes our new unique techonology, a transaction system. This innovative solution gives you a fast and easy way of updating archive files providing data integrity like a reliable database system. ZipForge Personal is free for personal use. Any company that uses ZipForge in its projects must order ZipForge Pro.
- 2022-03-25 05:07:39下载
- 积分:1
-
在桌面时钟程序中编写了接口。他是原料药的典型例子…
是用API 编写的一个桌面时钟程序。堪称是经典的 API 编程之范例大作!
提供全部源代码!供大家共同进步!-API is prepared in a desktop clock procedures. His is the classic example of API Programming Between big! Full source code! For all the common progress!
- 2022-11-20 06:50:04下载
- 积分:1