-
OS_projectC_Mutex
You are asked to design and implement a simulator for university life where lecturers provide lectures (credits) and students attend lectures (credits) to graduate. This simulator uses a bounded circular buffer shared by lecturers and students. Lecturers are concurrently providing lecturers and placing their lecturers in JCU (shared buffer) and students are concurrently taking lectures from JCU to graduate.
The purpose of this assignment is to give you some "hands-on" experience with concurrent processes, semaphores, and shared memory. You need to use the modules you practiced in week 6 and 8 labs (Prac 5 and Prac 6). You need semaphores for mutual exclusion and synchronization (studied in week 6 prac) and a shared buffer for shared memory IPC (studied in week 8 prac).
- 2009-10-31 16:09:02下载
- 积分:1
-
tuoliduosouce
地磅测试程序,将字符串发送到指定COM口,基于VB写的地磅仪表数据读取工具源码,包括调用了一个仪表通信采集工具、上海耀华、托利多等大众仪表,有一定的参考价值。
设置Com1为通信端口,设置通信端口参数 9600赫兹、偶校验、7个数据位、1个停止位.(这里需要进一步说明的是tting="BBBB,P,D,S,含义是:B:Baud Rate(波特率);P:Parity(奇偶);D:Data Bit;S:Stop Bit)。
.InBufferSize = 40 设置缓冲区接收数据为40字节
.InputLen = 1 设置Input一次从接收缓冲读取字节数为1
.RThreshold = 1 设置接收一个字节就产生OnComm事件。
Timer可以计算从子夜到现在所经过的秒数,在Microsoft Windows中,Timer函数可以返回一秒的小数部分。(Weighbridge test program, the string will be sent to the specified COM port, source-based reading tool written in VB weighbridge instrumentation data, including calling an instrument of communication collection tools, Shanghai Yaohua, Toledo and other public instruments, there is a certain reference value.
Set Com1 communications port, set the communications port parameters 9600 Hz, even parity, 7 data bits, 1 stop bit (It should be further noted that tting = "BBBB, P, D, S, meaning:. B: baud Rate (baud rate) P: Parity (parity) D: Data Bit S: Stop Bit).
. InBufferSize = 40 is set to receive data buffer is 40 bytes
. InputLen = number Set Input once read from the receive buffer byte 1 of 1
. RThreshold = 1 is set to receive a byte generated OnComm event.
Timer can be calculated from midnight to now the number of seconds elapsed, in Microsoft Windows, Timer function can return a decimal fraction of a second.)
- 2014-04-25 15:41:13下载
- 积分:1
-
UDPChattool
这是用VB编辑的点对点通讯工具,只要双方拥有IP地址,就可以连接通讯.可以用于Internet,局域网等网络中.()
- 2008-04-10 17:14:34下载
- 积分:1
-
QRMaker1.3
使用控件直接生成,vb二维码生成代码。。(Use the controls directly generate, vb the two-dimensional code generated code.)
- 2021-03-10 10:59:27下载
- 积分:1
-
pooceduresLCD
用VB做的一个液晶取字模程序,做液晶显示应该能够能用得到(Using VB to do a take type LCD procedures, can do LCD display should be able to get)
- 2017-04-05 01:58:42下载
- 积分:1
-
base64
Base64解码方法中,最简单的也是查表法:将64个可打印字符的值作为索引,查表得到的值((Base64 decoding method, the simplest is the look-up table method: 64 printable character value as an index lookup values obtained ()
- 2013-07-02 21:35:04下载
- 积分:1
-
643253443
扫描系统的所有进程,并可选择的删除不想运行的进程(scanning system in all processes and can choose not to delete the operation of the process! !)
- 2007-01-07 20:02:10下载
- 积分:1
-
WindowsApplication1
学生信息管理系统。C#开发,满足学生信息,课程信息,成绩查询.代码清晰,功能完善.(Student Information Management System. C# development, to meet the student information, course information, query results. Code clear and functional.)
- 2009-07-08 12:44:08下载
- 积分:1
-
3
说明: 《Visual C++程序员实用大全》,觉得这本书对学习Visual C++的人还是很有用的,需要用超星阅读器打开()
- 2007-09-27 19:35:56下载
- 积分:1
-
7978802
VB programming to achieve remote landing can()
- 2018-05-08 13:24:54下载
- 积分:1