Welcome![Sign In][Sign Up]
Location:
Search - p4.3.c

Search list

[OS Developpdfrd

Description: 1.实验目的: 模拟实现银行家算法,用银行家算法实现资源分配。 2.实验内容: 设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{A,B,C}的资源数量分别为10,5,7。进程可动态地申请资源和释放资源,系统按各进程的申请动态地分配资源。要求程序具有显示和打印各进程的某一时刻的资源分配表和安全序列;显示和打印各进程依次要求申请的资源号以及为某进程分配资源后的有关资源数据。 3.程序设计和说明: 函数说明:anquan( )判断给某个进程请求后系统是否安全,anquan1()判断当前系统是否安全。GetAll()取得所有进程的的各个资源数据。详细说明请参见附录中的程序的文档说明。-1. The experiment : Simulation Algorithm bankers, bankers algorithm with the allocation of resources. 2. Experiment : Design 5 (process P0, P1, P2, P3, P4) (resource sharing three categories A, B, C), (A, B, C) amount of resources to 10,5,7. Dynamic process could apply to the resources and the release of resources, according to the system processes the application to dynamically allocate resources. Procedures required to display and print the process of a moment of the distribution of resources and safety sequence; Display and print the process followed for seeking resources, as well as a process of distribution of resources in the resource data. 3. Program design and description : Function : anquan () to the judgment of a process the request system security, anquan1 () to judge whether th
Platform: | Size: 889154 | Author: 小鱼 | Hits:

[Other resourcevxWorks GIS

Description: vxworks下的GIS系统。 使用说明: 1.下载 \"VxEmapgis.out\" 或则 \"VxEmapgis2.out\" 到目标机 2.运行 \"main\" ,启动应用程序 , 3.按 \"ESC\" 弹出菜单, 4.选择 \"打开图层\" , 弹出图打开窗口 , 输入图层文件名称 如 “road.vxw” 或者 “water.vxw” 5.按 大写字母\"O\",确定, 或者大写字母 “C”取消 6.按方向箭头、pagedown , pageup 实现漫游 , , + , - 实现缩放 7.按 \"ESC\" 第二次可以取消菜单 8.图层控制窗口中,列出了已打开的图层 , 使用方向箭头移动,选择相应的图层可以关闭,也可以在这里打开图层 9.选择菜单项 退出系统 ,结束应用程序 注:需要支持x86-bios 的PC机 , 我测试所用机器是: 目标机: p2的350M cpu + 256M内存 + Tornado2.02 + windml2.0 主机: p4 + window2000 server 虽然我已经把windml的库连接到程序里,可能还需要安装WINDML2.0,我不大确定. 需要把图层文件(“road.vxw” , “water.vxw” , \"region.vxw\" , \"placename.vxw\"),符号文件(symbollib目录)等 拷贝到wftpd的根目录下面 VxEmapgis.out : 没有中断提示 VxEmapgis2.out: 有中断提示-VxWorks under the GIS system. Use : 1. Download "VxEmapgis.out" or the "VxEmapgis2.out" to the target machine 2. Running the "main", launch applications, 3. According to the "ESC" pop-up menu, 4. Select "Open layer," pop-up window opened map input layer document names such as "road.vxw" or "water.vxw" 5. according capital letters "O" to identify, or capital letters "C" the cancellation of six. by direction of the arrow, Page, Page roaming, and - to achieve scalability 7. according to the "ESC" a second menu can be lifted eight. layer control window, which lists the already opened layer, the use of mobile direction of the arrow, choose the corresponding layer can be closed, you can also open
Platform: | Size: 3009813 | Author: 康康 | Hits:

[VxWorksvxWorks GIS

Description: vxworks下的GIS系统。 使用说明: 1.下载 "VxEmapgis.out" 或则 "VxEmapgis2.out" 到目标机 2.运行 "main" ,启动应用程序 , 3.按 "ESC" 弹出菜单, 4.选择 "打开图层" , 弹出图打开窗口 , 输入图层文件名称 如 “road.vxw” 或者 “water.vxw” 5.按 大写字母"O",确定, 或者大写字母 “C”取消 6.按方向箭头、pagedown , pageup 实现漫游 , , + , - 实现缩放 7.按 "ESC" 第二次可以取消菜单 8.图层控制窗口中,列出了已打开的图层 , 使用方向箭头移动,选择相应的图层可以关闭,也可以在这里打开图层 9.选择菜单项 退出系统 ,结束应用程序 注:需要支持x86-bios 的PC机 , 我测试所用机器是: 目标机: p2的350M cpu + 256M内存 + Tornado2.02 + windml2.0 主机: p4 + window2000 server 虽然我已经把windml的库连接到程序里,可能还需要安装WINDML2.0,我不大确定. 需要把图层文件(“road.vxw” , “water.vxw” , "region.vxw" , "placename.vxw"),符号文件(symbollib目录)等 拷贝到wftpd的根目录下面 VxEmapgis.out : 没有中断提示 VxEmapgis2.out: 有中断提示-VxWorks under the GIS system. Use : 1. Download "VxEmapgis.out" or the "VxEmapgis2.out" to the target machine 2. Running the "main", launch applications, 3. According to the "ESC" pop-up menu, 4. Select "Open layer," pop-up window opened map input layer document names such as "road.vxw" or "water.vxw" 5. according capital letters "O" to identify, or capital letters "C" the cancellation of six. by direction of the arrow, Page, Page roaming, and- to achieve scalability 7. according to the "ESC" a second menu can be lifted eight. layer control window, which lists the already opened layer, the use of mobile direction of the arrow, choose the corresponding layer can be closed, you can also open
Platform: | Size: 3009536 | Author: 康康 | Hits:

[Linux-Unixlinuxptcd

Description:
Platform: | Size: 38866944 | Author: 彭学风 | Hits:

[SCMrar

Description: 程序功能:副臼笛槭墙玊AB中的数据写入AT45DB041中,在将数据从AT45DB041读出,并将数据放入250为首地址的RAM中 // 通过本实验了解MSP430对外围扩展的用法,写入的数据是21,22,23,24,25,26。 // 硬件连接:必须将拨动开关P_MEMORY的 P1、P2、P3、P4、P5、P6、P7都拨到ON的位置。-8MHz with auto-calibration by the FLL+. // ACLK = LFXT1 = 32768Hz, MCLK = SMCLK = DCO = (121+1) x 2 x ACLK = 7995392Hz // //* An external watch c
Platform: | Size: 915456 | Author: creat | Hits:

[OS DevelopBankers_algorithm

Description: 操作系统原理实验——银行家算法实验报告 2实验内容或题目 1)设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{A,B,C}的资源总数量分别为10,5,72)并行进程可动态地申请资源和释放资源(程序交互输入申请或释放资源数量),系统按各进程的申请动态地分配资源。 3)每当进程动态申请资源或释放资源时,模拟程序应能及时显示或打印各个进程在此时刻的资源分配表、系统可用资源量和安全序列等资源分配信息和安全检查信息 -Operating System Engineering Experiment- Banker' s algorithm experimental report two experiments the content or subject a) Design 5 process (P0, P1, P2, P3, P4) share the three types of resources, (A, B, C) system, (A, B, C), respectively the total number of resources 10,5,72) parallel process can dynamically apply for funding and release of resources (programs for interactive input or release of resources), the system processes the applications according to dynamic allocation of resources. 3) Whenever a process of dynamic application resources or the release of resources, the simulation program should be able to display or print each time the process of allocation of resources at this time table, the amount of resources available to the system such as resource allocation, and security sequence information and security checks information
Platform: | Size: 2048 | Author: 恋恋的恋 | Hits:

[OS DevelopConsoleApplication1

Description: //程序说明: // 一、开发语言:C#语言 //二、本程序模拟的是课本 银行家算法之例 编写的。 // 即系统中有五个进程{0,1,2,3,4}和三类资源{A,B,C},各进程的初始资源分配情况及各资源的总数量均 //参照该例子。 //三、本程序中共四个函数分别为:show(),apply(),test(),及主函数main() // 其中: // 1、show()的功能为:直观的列出系统某时刻的资源分配情况。 // 2、apply()的功能为:进程发出资源请求后,系统试探着把资源分配给该进程并修改数据结构中的数值。 // 3、test()的功能为:系统的安全性检测。 //四、需要注意的问题: // 1、本程序的前提是假设当前只有一个进程请求资源。 // 2、一旦操作不符合要求会得到意想不到的结果!再按任意键可能该程序也不能正常运行,则就关闭该程序, //然后再打开重新运行便可. //五、课本上的例子在这个程序中运行后成功。 // 例如:P1:Request1(1,0,2) // p4: Request4(3,3,0) // P0:Request0(0,2,0) // 再测试P0:Request0(0,1,0) 同课本上的结果相同。-// // Program description: // // First, the development of language: C# language // Second, the program simulates the textbook example of banker s algorithm, written. // That system has five processes and three resources {0,1,2,3,4} {A, B, C}, each process of the initial distribution of resources and all resources of total volume // Reference to the examples. // Third, the program CCP four functions are: show (), apply (), test (), and the main function main () // among them: // 1, show () function is: intuitive system resource allocation lists certain point in time. // 2, apply () function as follows: After the process to issue a resource request, the system tentatively allocated resources to the process and modify the data structure values. // 3, test () function as follows: security detection system. // Four issues that need attention: // 1, the premise of this program is the assumption that the current process only one request resource. // 2, once the operation does
Platform: | Size: 44032 | Author: tangfypw | Hits:

[Othergt

Description: 快速生成冲头挂台,提升设计工作效率!!!!!!!((defun c:GT(/ selec1 selec2 point1 point2 object1 object2 pp1 pp2 dist1 dist2 inter INTERX INTERY POINT1X POINT1Y ptrim pextend P1 p2 p3 p4 p5 ) (start00) (setvar "osmode" 0) (setq n 1) (while (< n 2) (print) (setq selec1 (entsel ":") ) (if (= selec1 nil) (princ "!") (progn (setq n 3) (princ "1 found"))) );while)
Platform: | Size: 1024 | Author: ZLJ0031 | Hits:

CodeBus www.codebus.net