-
我做的银行家算法
说明: 过一个学习《操作系统》课程的学习,掌握了许多书本上的知识,但是对书上的概念并没有真正意义的了解。这次课程设计,就是通过模拟银行家算法来避免死锁的产生,加深对进程死锁概念的理解。
.课程设计的要求
通过对银行家算法的模拟,用户输入进程跟资源的数目,再给每个进程的每个资源申请资源,用以判断进程是否会出现死锁,若出现死锁,就释放整个内存的资源,总而减轻操作系统的负担。
课程设计的题目
本次操作系统课程设计的题目为《模拟银行家算法》。(than a learning "system" courses of study and master the many books on the knowledge, but the book on the concept and there is no real understanding. This curriculum design, simulation algorithm bankers to avoid deadlock the selection process to deepen understanding of the concept of deadlock. . Curriculum design requirements of bankers algorithm simulation, process user input with the number of resources, or give each process every resource for resources, the process used to determine whether there will be deadlock if there Deadlock on the release of the entire memory resources, and reduce the total burden of the operating system. The curriculum design of the operating system subject curriculum design on the topic of "simulation algorithm bankers.")
- 2021-01-02 00:38:57下载
- 积分:1
-
GPA-Calculators
GPA 计算器的设计,利用Visual C++设计的GPA 计算器的源代码程序(GPA calculator design, the use of Visual C++ design GPA calculator source code program)
- 2014-05-11 17:13:19下载
- 积分:1
-
MyHotKey
利用系统热键可以方便用户的操作,比如经常使用的Alt + Tab可以快速切换窗口;Crtl + Alt +
Delete键可以调出Windows任务管理器或重启机器;oicq软件也会注册系统热键方便用户的操作,等等。本程序就注册一个系统热键Alt + Z,在应用程序执行的任何时候只要按下该热键就会弹出一个消息对话框。
(system hotkeys can use user-friendly operation, For example, the regular use of the Alt-Tab window can quickly switch; Crtl-Alt-Delete keys could be released Windows Task Manager or the reopening of machinery; oicq software registration system hotkeys will be user-friendly operation, and so on. The procedure for registering a system hotkeys Alt Z, Application procedures for the implementation of any time by pressing the hotkey will pop up a message box.)
- 2007-04-28 12:03:33下载
- 积分:1
-
Expression-evaluation
bo3-1.cpp 顺序栈(存储结构由c3-1.h定义)的基本操作(9个)
algo3-6.cpp 表达式求值(输入、输出和中间结果均只能是0~9)(Bo3-1.cpp order of the stack (storage structure defined by the c3-1.h) basic operations (9)
Algo3-6.cpp expression evaluation (input, output, and intermediate results are only 0 to 9))
- 2014-02-11 18:14:56下载
- 积分:1
-
MsAgentsrc
微软的ms_agent,实现了类似瑞星小狮子的功能,可以实现语音,文字,动作的特级效果(Microsoft ms_agent, Ruixing realize a similar function of a small lion, you can realize voice, text, special effects action)
- 2008-02-19 09:48:06下载
- 积分:1
-
TestGettickcount
在对话框中,使用VB6获取系统精确时钟数的简单小程序(in the dialog box, use VB6 acquisition system precision clock small number of simple procedures)
- 2007-03-14 23:13:53下载
- 积分:1
-
ch3
水晶报表VC实例,实例主要实现了水晶报表的按组字段分类,按字段排序,以及检索功能(CrystalReports)
- 2010-06-23 20:51:18下载
- 积分:1
-
testZeroMQ
内含简单项目代码及ZeroMQ使用教程,资源适合初学者,可以满足快速入门要求
下载ZeroMQ
下载网址:http://zeromq.org/intro:get-the-software
点击“Windows sources”下载zeromq-4.0.3.zip文件
编译ZeroMQ库文件
解压zeromq-4.0.3.zip文件,进入buildsmsvc目录,用VS打开*.sln工程文件,编译生成解决方案。编译完成后,会在lib目录下生成dll和lib文件
编写简单的测试工程
1.用VS新建2个项目,一个是server端,一个是client端
2.将ZeroMQ源码项目的include目录下的两个文件“zmq.h”,“zmq_utils.h”拷贝至自己新建的工程
3.将ZeroMQ源码项目的lib目录下的两个文件“libzmq.dll”,“libzmq.lib”拷贝至自己新建的工程
4.将文件“zmq.h”,“zmq_utils.h”和“libzmq.lib”添加进自己新建的项目。(ZeroMQ simple project containing the code and tutorials, resources for beginners, to meet the requirements of the Quick Start Download ZeroMQ Download URL: http://zeromq.org/intro:get-the-software Click " Windows sources" download zeromq-4.0. 3.zip ZeroMQ library files compiled zeromq-4.0.3.zip unzip the file, enter builds msvc directory, with VS open*. sln project file, the compiler generates solutions. After the compilation is complete, it will generate dll and lib files in the lib directory to write a simple test project. Using VS New two projects, one is server-side, is a client-side two would both include directories ZeroMQ source project under File " zmq.h" , " zmq_utils.h" copy to their new project 3 would be two files ZeroMQ source project lib directory under " libzmq.dll" , " libzmq.lib" copy to their new project 4 would file " zmq.h" , " zmq_utils.h" and " libzmq.lib" added to their new projects.)
- 2014-02-19 08:43:26下载
- 积分:1
-
test1
VB环境下简单的串口测试程序,测试两台主机通过串口是否能够实现数据传送,可以传送数字、字符串及汉字。(VB environment, a simple serial test program, test whether two hosts can be achieved through the serial data transfer, can send numbers, strings and characters.)
- 2010-06-09 10:11:16下载
- 积分:1
-
bank
一个银行系统的完整版本,非常详细,无错误。(A full version of the banking system)
- 2009-07-09 16:00:48下载
- 积分:1