-
T5557reader
stm32主控芯片实现对T5557卡的读写,资料包括读卡电路,T5557卡片的相关技术文档,上位机及工程源码。(The main control chip of STM32 realizes the reading and writing of T5557 card, including the reading circuit, the related technical documents of T5557 card, the host computer and the engineering source code.)
- 2020-11-14 16:39:42下载
- 积分: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
-
Dbf
采用C#语言读写*.dbf文件格式,无须任何驱动与依赖(Reading & Writing dbf Files, using C#.)
- 2020-09-18 11:37:53下载
- 积分:1
-
读写内部FLASH
利用stm32对外部flash进行读写,(Using STM32 to read and write external flash)
- 2018-06-13 19:12:57下载
- 积分:1
-
自己编的逆波兰市 看看再说!
自己编的逆波兰市 看看再说!-own series of the inverse look at the city of Portland say!
- 2022-05-15 20:59:28下载
- 积分:1
-
P_Possion
产生一个满足泊松分布的随机序列信号。用于通信系统的信源部分(have to meet a Poisson distribution of random sequence. Communication systems for the source of)
- 2006-10-31 16:16:20下载
- 积分:1
-
bitmap_bit
VC++ 位图大PK程序,两幅BMP图像比较大小,希望能对大家有所帮助 (VC++ big PK bitmap program, comparing the size of two BMP images, hoping to be helpful)
- 2011-04-19 23:09:40下载
- 积分:1
-
MATLAB-DLL
将matlab的m文件生成可供labview调用的dll(The matlab m file is generated for LabVIEW call DLL)
- 2014-11-10 19:28:04下载
- 积分:1
-
danpanji
DSP处理器开发的入门级内容,包括了GPIO,跑马灯,红绿灯,键盘控制等一系列的例程。非常的全!(DSP processor development of entry-level content, including GPIO, marquees, traffic lights, keyboard control and a series of routines. Very full!)
- 2013-11-02 01:38:32下载
- 积分:1
-
asp.net中以二进制方式读取文件
asp.net中以二进制方式读取文件-were Asp. Net in binary mode, read files
- 2022-11-29 12:35:03下载
- 积分:1