-
HVDC_Bipolar_1000MW_500kV
说明: 最新Cigre 500kV双极标准测试模型(Latest Cigre 500kV Bipolar Standard Test Model)
- 2019-06-24 11:11:26下载
- 积分:1
-
读者写者问题
说明: 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。
2、定义一个读者函数:
?当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。
?当有其他读者在占用buffer时,读者可对buffer进行读取操作。
?当buffer中有数据时,则从其中读取一个数据,并显示然后退出。
?当buffer中没有数据时,应等待,直到buffer中有数据可读。
3、定义一个写者函数
?当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。
?当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。
?当buffer有空闲时,写者应该在buffer中写入一个数据并退出。
?当buffer满时,写者应该等待,直到buffer有空闲为止。
4、定义主函数,在其中可以任意创建读者与写者。
可根据用户输入创建读者或写者进程(线程)。(1. Define a data buffer and semaphores for synchronization and mutual exclusion.
2. Define a reader function:
When a writer is occupying the buffer, the reader should wait until the writer no longer uses the buffer.
When other readers occupy the buffer, they can read the buffer.
When there is data in the buffer, read a data from it, display and exit.
When there is no data in the buffer, wait until the data in the buffer is readable.
3. Define a writer function
When a reader is occupying the buffer, the writer should wait until all readers quit.
When other writers occupy the buffer, the writer should wait until the writer who occupies the buffer exits.)
- 2019-12-27 18:49:46下载
- 积分:1
-
Flash鼠标动作脚本编程:拖动物体变形的例子
Flash鼠标动作脚本编程:拖动物体变形的例子,是一个典型的Flash动作脚本编程教程:鼠标拖动上下拉动的方块,像是带有磁性的力量,鼠标拖动后会一个个跟过来,并最终复还成初始形状。
- 2022-01-20 23:08:04下载
- 积分:1
-
linux-dash-master
说明: 适用于Linux的漂亮网页仪表板可以参考参考。(A beautiful web dashboard for Linux)
- 2020-06-17 02:00:01下载
- 积分:1
-
大文件MD5多线程 - 副本
同步文件夹,并且校验MD5。可以用来更新(Synchronize folders and verify MD5. Can be used to update)
- 2017-09-16 03:14:31下载
- 积分:1
-
Matlab辅助激光光学分析与应用
上传程序为衍射问题数值计算的matlab源代码(Upload program is matlab source code for numerical calculation of diffraction problem)
- 2019-02-28 17:53:11下载
- 积分:1
-
ABAQUS-GUI开发使用指南
说明: Abaqus二次开发,用户界面开发,采用Python语言。(Abaqus GUI design by python)
- 2019-01-18 11:59:51下载
- 积分:1
-
VB实现的排雷程序 ,大体功能同windows自带的游戏相同,推荐初学VB的朋友...
VB实现的排雷程序 ,大体功能同windows自带的游戏相同,推荐初学VB的朋友-VB mine procedure, generally with the functions of Microsoft"s Windows game the same and recommend that when a friend VB
- 2022-03-24 23:05:17下载
- 积分:1
-
基于OMNeT_的TCP_IP协议仿真
基于OMNeT_的TCP_IP协议仿真The TCP_IP protocol simulation based on OMNeT(The TCP_IP protocol simulation based on OMNeT_)
- 2009-10-28 20:48:07下载
- 积分:1
-
complex_reverberation
说明: 可实现海洋混响信号统计模型的建立,发射信号为LFM或单频信号,参数可调,得到的模型很好的符合混响的统计特性(It can establish the statistical model of marine reverberation signal. The transmitted signal is LFM or single frequency signal, and the parameters can be adjusted. The model is in good agreement with the statistical characteristics of reverberation.)
- 2020-06-16 22:00:01下载
- 积分:1