搜索资源列表
Sig_SW
- 本程序基于s3c2440的IO口电平状态检测驱动,适用于开关量信号检测电路。程序实现:检测当前IO口状态并通过串口打印。-This procedure applies to the switch signal detection circuit based on the the s3c2440 IO port level of state detection driver,. Program: detection of IO port status and print through the s
sig_AIN
- 本程序为基于s3c2440的两路模拟信号检测电路的裸机驱动。程序检测出A/D转换后的模拟量并进行了电压换算。-This program is based the s3c2440 two-channel analog signal detection circuit of the bare metal drive. Procedures to detect the A/D converter analog voltage conversion.
consumer_producer
- 使用了三个信号量: empty (以记录有多少空位)、full (以记录有多少满位)以及mutex (二进制信号量或互斥信号量,以保护对缓冲插入与删除的操作)。对于本项目, empty 与full 将采用标准计数信号量,而mutex 将采用二进制信号量。生产者与消费者作为独立线程,在empty、full、mutex 的同步前提下,对缓冲进行插入与删除。 -Producer and consumer problem of operating system.
linux_code
- 包括linux文件IO、进程间通信、网络编程、信号量、互斥锁的各个基本linux高级编程的源码-linux thread ipc
ch06
- 为了生成轻量级信号量,你可以声明一LWSEM_STRUCT类型的变量并调用_lwsem_create()函数进行初始化,该函数有一指针指向变量并设置了一个初始的信号量计数。该信号量计数表明了并发地访问信号量资源的请求数,并设置为初始值。-In order to generate a lightweight signal, you can initialization function statement LWSEM_STRUCT struct type variables, and call _
semprod_consu
- 基于信号量机制和Pthread实现的生产者消费者模型。-The producer consumer model based on the mechanism of the signal quantity and the realization of Pthread.
pthread-master
- 模拟多线程之间信号量交互,适用于linux平台,采用c语言(semaphore interaction between multiple threads)
mp3
- mp3播放源码,MP3功能的实现 7.1基本概念 PCM: 脉冲编码调制 声音是模拟量 计算机能处理的是数字量,涉及模拟量和数字量的相互转换 录音时是模拟量转数字量 播放时是数字量转模拟量 采样频率: 每秒钟抽取声波幅度样本的次数 当采样频率应该在40kHz左右,保证声音不失真 量化位数: 每
shared_memory
- Linux进程间通信之使用共享内存方式,并且已使用信号量的方式实现文件的同步(Linux process communication shared memory)
Linux
- 1.学习并理解如何使用 Hadoop,学会在 Hadoop 中运行简单的程序,了解其运 行过程。 2.通过学习生产者/消费者问题理解多线程同步问题。 1.在 Linux 环境下建立大数据处理框架 (1)学习 Hadoop 的相关知识。 (2)安装并配置 Hadoop 环境。 (3)在 Hadoop 上执行 WordCount 示例。 2. 实现生产者/消费者同步问题 (1)在 linux 系统中学习信号量的使用。 (2)执行生产者与消费者模型。(1. learn and und