-
sobtubing_SW
说明: 编制一维流体动力学差分计算程序,并对如下Sod 激波管问题进行数值计算。(A one-dimensional hydrodynamic difference program is developed, and the following problems of the sod shock tube are numerically calculated.)
- 2020-06-22 22:45:32下载
- 积分:1
-
AD5270TEST
可调电阻AD5270的Verilog测试读写功能代码(a test code for AD5270 to write and read)
- 2018-11-02 17:37:12下载
- 积分: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
-
multirobot-formation-control-master
非完整机器人一致性仿真,运用matlab代码对非完整移动机器人的一致性进行了仿真。(Consistency simulation of nonholonomic robots)
- 2019-05-19 21:19:24下载
- 积分:1
-
java games prepared by the 1000 block of Terry Avenue
java编写的连连看游戏 -java games prepared by the 1000 block of Terry Avenue
- 2022-05-27 09:41:21下载
- 积分:1
-
最有名的一个VC++外部类,Cmarkup,现在已经出了最新版8.2了,现在网上的都是6.1以下的版,希望这个新版对你们有所帮助,一些相用VC开发VML的朋友千...
最有名的一个VC++外部类,Cmarkup,现在已经出了最新版8.2了,现在网上的都是6.1以下的版,希望这个新版对你们有所帮助,一些相用VC开发VML的朋友千万不要错过-one of the most famous VC external categories, Cmarkup, now out of the latest version 8.2. Now online are below the 6.1 version, I hope this new right will be helpful. Some compared with VC VML friend Do not miss
- 2022-08-18 19:03:42下载
- 积分:1
-
SINS
说明: 可用于捷联惯导结算的程序,代入数据就可以运行,有助于对惯导原理的理解(The program that can be used for Strapdown Inertial Navigation settlement can be operated by substituting data, which is helpful to understand the principle of inertial navigation.)
- 2020-06-24 15:40:02下载
- 积分:1
-
WB_DBF
说明: 关于宽带信号自适应波束形成(digital beamform of wide band signal,dbf)的matlab程序(digital beamform of wide band signal)
- 2019-03-21 20:10:31下载
- 积分:1
-
这是个用于内网抓包工具的使用介绍文档,希望给朋友们提供帮助。...
这是个用于内网抓包工具的使用介绍文档,希望给朋友们提供帮助。-it is used within the network to use the tools capturing Packet introduced documents, hope to the help of our friends.
- 2023-04-23 23:30:03下载
- 积分:1
-
一个方块游戏,类似俄罗斯方块,但是玩法完全不同,大家可以尝试一下,这个是大学计算机专业的一个课程设计作业。...
一个方块游戏,类似俄罗斯方块,但是玩法完全不同,大家可以尝试一下,这个是大学计算机专业的一个课程设计作业。-a block game, similar to Tetris, but the games are played completely different, we can give it a try. the University is a computer professional course design work.
- 2023-04-17 03:45:04下载
- 积分:1