搜索资源列表
adc-s3c2410
- 此驱动程序使用了等待队列,信号量,中断注册。另外要特别留意write函数被实现为从用户空间传入数模转换通道号(频道)和分频的值(预分频),read函数则传出转换好的数据。对于预分频传入和读取,本驱动程序并未使用到,当多路转换时,这个值则要充分利用,并且需要一种多路转换的实现方法了。-This driver uses a wait queue, semaphores, interrupt register. Also pay special attention to write function
SQAM
- 基于高阶循环累积量的SQAM信号调制识别算法-Order cyclic cumulant based modulation recognition algorithm SQAM
rd
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。-In Windows2000 environment, create a console process, this process contains n threads. N threads with which to express n a reader or writer. Each threa
CWriterReader
- 用信号量来实现读者写者问题。 学习NachOS的使用方法 理解和运用信号量、PV原语、进程间的同步互斥关系等基本知识。 -Semaphores to implement the reader with a writer problem. Learning NachOS understanding and application of use of semaphores, PV primitives, synchronization between the mutually ex
xinhaofashengqi
- 信号发生器,配置各种参数,各种用途的调制量,可在采集的信号上动态的调整各个参数。-Signal Generator
sem
- linux信号量使用方法,示例中包括源码和makefie,以及经过编译的文件,可以直接运行-linux semaphore usage, examples including source code and makefie, and compiled files that can be run directly
mutex
- mutex信号量使用方法,示例中包括源码和makefie,以及经过编译的文件,可以直接运行-use mutex semaphores, including source code and sample makefie, and compiled files that can be run directly
Linux-driver-development7
- 作者:华清远见嵌入式学院。《Linux设备驱动开发详解》(08&09年度畅销榜TOP50)第7章、Linux设备驱动中的并发控制。Linux设备驱动中必须解决的一个问题是多个进程对共享资源的并发访问,并发访问会导致竞态。Linux提供了多种解决竞态问题的方式,这些方式适合不同的应用场景。7.1节描述了并发和竞态的概念及发生场合。7.2~7.5节分别讲解了中断屏蔽、原子操作、自旋锁和信号量等并发控制机制。7.6节讲解增加并发控制后的globalmem的设备驱动。-Author: HuaQing v
thread-test.tar
- 一个关于linux线程的互斥量,条件变量,信号量的例子,看完了明白互斥量等线程同步的基本使用方法-A thread on linux mutex example, read the understand the basics of using a mutex
Test2
- vxworks操作系统任务之间利用二进制信号量进行通信调度-vxworks operating systems use binary signals between the amount of task communication schedule
producers-and-consumers-
- 一个或多个生产者消费者实现线程间的同步、互斥 使用AND型信号量-One or more producers and consumers to achieve synchronization between threads, mutual exclusion semaphores with the AND-type
Dining-philosophers-problem
- 哲学家就餐问题 实现5个哲学家5支筷子的就餐问题涉及到AND型信号量,线程的阻塞唤醒切换功能-Dining philosophers problem to achieve five dining philosophers five chopsticks issues related to the AND-type semaphore, blocking thread switching wake
Stm32_ucos_3-1
- 在IAR环境中实现以下要求的编程(1)二个外部中断EINTB(KEY1)、EINTC(KEY2),三个任务A、B、C,优先级由低到高。 (2)A任务每运行一次使得第一组数码管的值增加1,调用延时函数为1s (3)B任务等待信号量bsem(初始值为0),中断INTB触发信号量bsem的发送。该任务每运行一次使得第二组数码管的值增加1,调用延时函数为0.5s (4)C任务等待信号量csem(初始值为0),中断INTC触发信号量csem的发送,该任务每运行一次使得某个发光二级管闪烁,调用延
shengchanzheyuxiaofeizhe
- 设计目的:通过研究Linux 的进程机制和信号量,实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mech
SemaphoreThreadSyn
- vc 使用信号量(Semaphore)实现线程的同步\SemaphoreThreadSyn的程序源码,希望对大家有所帮助-vc using semaphores (Semaphore) to achieve thread synchronization \ SemaphoreThreadSyn the program source code, we hope to help
semaphore
- linux 下的信号量编程,对初学者有一定的好处,值得一看。-semaphore programming under linux, there are certain advantages for beginners, worth a visit.
ucosIIa-FLAG-a-Queue
- ucosII信号量 消息队列 和事件标志块的使用-the using method of OS_sem OS_Queue and OS_FLAG in ucosII
keil_MDK_Cortex-M3_uCOSII
- keil4 realview MDK环境下移植ucosII到comtex-m3内核的芯片上示例工程,示例简单使用信号量来实现任务的切换。-keil4 realview MDK environment transplantation ucosII to comtex-m3-core chip on the sample project, a simple example of using semaphores to implement task switching.
SemaphoreThreadSyn
- vc——使用信号量(Semaphore)实现线程的同步\SemaphoreThreadSyn的程序源码,值得一看!-vc- using semaphores (Semaphore) to achieve thread synchronization \ SemaphoreThreadSyn the program source code, worth a visit!
SemaphoreThreadSyn
- vc——使用信号量(Semaphore)实现线程的同步\SemaphoreThreadSyn的程序源码,值得一看!-vc- using semaphores (Semaphore) to achieve thread synchronization \ SemaphoreThreadSyn the program source code, worth a visit!