-
Scientific
scientific calculator in VC++
- 2009-12-24 00:26:34下载
- 积分:1
-
Mifare_UsbMiCard_DLL
Mifare USBMiCard.DLL - Visual C/C++ Source Program(Mifare USBMiCard.DLL- Visual C/C++ Source Program)
- 2009-02-17 09:56:50下载
- 积分:1
-
ws2811b
说明: ws2811b彩灯驱动,未测试,未测试。(Ws2811b color light drive, untested, untested.)
- 2019-05-07 12:03:19下载
- 积分:1
-
eg8_IndependentProject_CAN
说明: DSP28335芯片CAN总线模块案例程序(case codes about CAN bus of DSP28335)
- 2020-06-22 20:20:01下载
- 积分: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
-
程序
在电动汽车无序充电时,用蒙特卡洛法模拟每时刻电动汽车充电功率(Monte Carlo simulation is used to simulate the charging power of electric vehicles when the electric vehicles are disorderly charging.)
- 2020-07-01 16:00:01下载
- 积分:1
-
divider-radix2
说明: 除法器 radix2 基-2除法 verilog语言(divisor radix-2 division)
- 2020-12-29 14:29:01下载
- 积分:1
-
backstep
一级直线倒立摆的反演控制及基于RBF神经网络的反演控制(linear inverted pendulum control based on backstepping control and RBF neural networks)
- 2017-03-20 15:53:10下载
- 积分:1
-
这是关于802.11协议如何让接受,如何发送数据包的一个很精彩.希望对大家有所帮助...
这是关于802.11协议如何让接受,如何发送数据包的一个很精彩.希望对大家有所帮助-This is the 802.11 protocol on how to get accepted, how to send packets of a very splendid. Hope to help everyone
- 2022-07-24 10:37:01下载
- 积分:1
-
转换工具Tickstory Lite(最新版)
说明: 用于转换tick数据到mt4中,生成fxt文件,直接用于测试,免去下载数据过程(convert tick data to metatrader format)
- 2020-06-19 13:00:02下载
- 积分:1