搜索资源列表
pthread
- 多线程应用程序设计。生产者线程不断顺序地吧0-1000的数字写入共享的循环缓冲区,同时消费者线程不断地共享地循环缓冲区读取数据。
TMS320F2812_SCI
- TMS320F2812串行口通信程序-采用循环缓冲区方式
FIR4
- *用循环缓冲区和双操作数寻址方法实现FIR滤波器 *N=80,y(n)=h0*x(n)+h1*x(n-1)+...+h78*x(n-78)+h79*x(n-79) *先用matlab,选择80点汉明窗设计一个截止频率为0.2pi的低通滤波器
circularbuffer
- 循环缓冲区的C++实现,注释的非常清楚,可以很好的理解其机制
loopbuffer
- 一个简单高效的循环缓冲区的管理代码,与平台无关,可以方便在各种场合使用。
RingBuffer_os.rar
- 一个用c/c++写的多线程程序,源码中介绍了循环缓冲区的使用方法和基本原理,很适合初学者,with a c/c write multi-threaded process, the source described the use of buffer cycle methodology and basic principles, which is perfect for beginners
circlebuffer.zip
- 循环缓冲区是一个非常常用的数据存储结构,已经被广泛地用于连续、流数据的存储和通信应用中。对于循环缓冲区,传统的操作方法是开辟一块连续的存储区,不断地写入数据,当写入到存储区的末尾的时候,再从存储区的首部再开始写入数据,由此不断地重复下去构成了循环缓冲区。偶曾经写过很多循环缓冲区,也看过很多人编写的循环缓冲区,但是拜读Simon Cooke先生的文章────“两段式”循环缓冲区,Cycle of the buffer zone is a very commonly used in data st
BufferProgram
- 循环缓冲区好处是:使共享资源的线程的等待时间减到最小,并使他们的平均操作速度相同。 注意:循环缓冲区不适合于生产者和消费者持续以不同的速度进行操作的情况。 缓冲区太小,这样会使线程等待更多的时间。 缓冲区太大,这样会浪费内存。 -Circular buffer benefits are: to make a thread of shared resources to minimize the waiting time, make them the same as the a
Circlebuffer
- 循环缓冲区的类。在网上曾经查过很多关于循环缓冲区的代码,比较过后,觉得这个还是很不错的,欢迎下载!-A circle buffer Class which is rather better than others in my opinion.
ringbuffer
- 在通信程序中,经常使用环形缓冲区作为数据结构来存放通信中发送和接收的数据。环形缓冲区是一个先进先出的循环缓冲区,可以向通信程序提供对缓冲区的互斥访问。-In the communications program, frequently used as a ring buffer data structure to store communications to send and receive data. Ring buffer is a FIFO buffer of the cycle can
matlab
- 此文件是基于MATLAB环境下的关于FIR滤波器设计程序 其中包括了MATLAB的源程序和采用循环缓冲区实现的汇编源程序和连接程序。-This document is based on the MATLAB environment on FIR filter design process including the use of MATLAB and the cycle of the source buffer to achieve the compilation of source code
Linuxdevicedriverbuffer
- Linux设备驱动程序学习(3-补)-Linux中的循环缓冲区 - Linux设备驱动程序.rar-Linux设备驱动程序学习(3-补)-Linux中的循环缓冲区- Linux设备驱动程序.rar
FIR_FILTER_C
- 使用C语言实现FIR滤波器,包括基本滤波器,使用循环缓冲区的滤波器等-The use of C language realization of FIR filters, basic filters, use of filters, such as buffer zone
stm32_adc
- 此程序是基于STM32的AD应用程序,我们在这里设置ADC为连续转换模式,常规转换序列中有两路转换通道,分别是ADC_CH10(PC0)和ADC_CH16(片内温度传感器)。因为使用了自动多通道转换,数据的取出工作最适合使用DMA方式取出,so,我们在内存里开辟了一个u16 AD_Value[2]数组,并设置了相应的DMA模块,使ADC在每个通道转换结束后启动DMA传输,其缓冲区数据量为2个HalfWord,使两路通道的转换结果自动的分别落到AD_Value[0]和AD_Value[1]中。
UART
- 单片机串口通信,收发数据缓冲区示例,在中断中不处理接收的数据,只是按循环队的方式将数据存起来,标示Buf中有多少个数据,在主程序中去查询.-Microcontroller serial communication, send and receive data buffer example, in the interrupt does not handle the data received, but on a revolving team approach to store data toget
read-write
- 实验程序模拟多个生产/消费者在有界缓冲上正确的操作。它利用N个字节的共享内存作为有界循环缓冲区,利用写一字符模拟放一个产品,利用读一字符模拟消费一个产品。当缓冲区空时消费者应阻塞睡眠,而当缓冲区满时生产者应当阻塞睡眠。一旦缓冲区中有空单元,生产者进程就向空单元中入写字符, 并报告写的内容和位置。一旦缓冲区中有未读过的字符,消费者进程就从该单元中 读出字符,并报告读取位置。生产者不能向同一单元中连续写两次以上相同的字 符,消费者也不能从同一单元中连续读两次以上相同的字符。 -cha
FIR
- fir.asm是基于循环缓冲区的FIR滤波器的设计程序,采样率为10KHz-fir.asm is based on the circular buffer FIR filter design program, sampling rate of 10KHz
Serial-Driver
- 这是一个基于ucos操作系统开发的串口循环缓冲区!是运行于ARM7内核的LPC2148处理器上的。-This is an operating system development based on the serial ucos circular buffer! Is running on the LPC2148 ARM7-core processors.
dsp28335 循环数据缓冲器 C代码编写
- dsp28335 循环数据缓冲器 C代码编写 使用UART 循环缓冲区的程序编写
ring-buffer.tar
- 基于kfifo的循环缓冲,用户空间使用,含有测试代码。(Kfifo based cyclic buffering, user space usage, contains test code.)