搜索资源列表
semaphore
- IAR的uCOS-II信号量例程,大家可以学习 -IAR' s uCOS-II semaphore routines, we can learn from
VxWorks.semaphore.mechanism.sync.tasks
- VxWorks信号量机制任务同步资料VxWorks semaphore mechanism to sync tasks -VxWorks semaphore mechanism to sync tasks
pthread
- linux2.6.27,fc8平台,使用信号量实现生产者消费者问题-linux semaphore producers and consumers
xinhaoliang
- 实现计数信号量的同步,还有二进制信号量的同步,从中可以从可以比较出二者的不同。-Counting semaphores to achieve synchronization, as well as a binary semaphore synchronization, from which you can compare from the difference between the two.
ST7920serial
- 详细说明:ST7920串行控制例程 1.利用avrx信号量,支持多任务调用 2.带文本缓冲 3.支持任意位置单个汉字反显,以及汉字和英文混显,自动换行 4.全c函数编写,有较详细的注释 需要扩充:为了和数字混合显示可以利用可变参数 -Details: ST7920 serial control routine 1. Using avrx semaphores, called multi-task 2. With a text buffer 3. To support a
ipc-com12
- 进程之间的通信,主要是关于信号和信号量!-Communication between processes, mainly on the amount of signal and the signal!
danduo
- 用高阶累积量做的单载波和OFDM信号的识别的matlab全部源代码。对做这方面研究的人绝对会有帮助。-Cumulant to do with single-carrier and OFDM signals recognition matlab full source code. For people who do research in this area will definitely help.
zip51
- 仿照ucos的一个实时内核,专门为没有扩展ram的单片机写的,最低配置256字节。提供了四个优先级不同的任务和信号量互斥型信号量消息邮箱消息队列功能。-Ucos modeled a real-time kernel, designed for the microcontroller does not extend ram write a minimum configuration of 256 bytes. Provides four priority levels for different
Sem
- linux下system V信号量的C语言封装,及其示例代码,用于进程间通信。-Provide C-language package of system V semaphore under linux as well as sample code. This package is used for inter-process communication.
Socket_linux
- linux环境下的socket编程,包括线程池,信号量,消息队列等-linux/unix socket
Semaphore
- linux下posix信号量的C语言封装,以及示例代码。可用于线程间和进程间通信。-Provide C-language package of posix semaphore under linux as well as sample code. This package is used for inter-process communication.
producer_customer_question
- 通过创建线程实现生产者、消费者对缓冲区进行互斥操作。 用信号量机制解决进程(线程)的同步与互斥问题。 缓冲区大小为31,缓冲区满则不允许生产者生产数据,缓冲区空则不允许消费者消费数据。 程序一直运行下去,直到敲击回车停止。-Achieved by creating a thread producers, consumers mutually exclusive operation of the buffer. Settlement process with the semaphore
process
- 关于Linux下的进程间通信的知识,主要是信号量,消息队列,共享内存等。-On interprocess communication under Linux knowledge, mainly semaphores, message queues, shared memory and so on.
7
- 创建4个线程,其中两个线程负责从文件读取数据到公共的缓冲区,另两个线程从缓冲区读取数据作不同的处理(加和乘运算)。使用信号量控制这些线程的执行。 -Creating 4 threads, two of which thread is responsible for reading data from file buffer to the public, the other two threads to read data from the buffer for different treat
process
- linux-0.11的信号量实现。采用生产者消费者验证-linux-0.11 of the semaphore. Verified by producers and consumers! !
duzhexiezhewenti
- 定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: ? 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 ? 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 ? 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 ? 当buffer中没有数据时,应等待,直到buffer中有数据可读。 3、定义一个写者函数 ? 当有读者在占用buffer时,写者应该等待,直到所有的读者都退
PVoperation
- 实验中提供了 5 个信号量(s0-s4)和 20 个进程(pid 0-19) 。在程序运行过程中可以 键入 wait 命令,signal 命令和 showdetail 命令显示每个信号量的状态。具体输入解释如 下: 1) wait 获取信号量操作(P操作) 。 参数: 1 sname 2 pid 。 示例:wait(s1,2) 。进程号为 2 的进程申请名字为 s1 的信号量。 2) signal 释放信号量操作(V 操作) 。 参数 1 sname。
TCL0834
- TLC0834实现模拟信号量的采集,输入0-5V的电压,然后把类比电压值在LCM上显示出来-TLC0834 realize the amount of analog signal acquisition, 0-5V input voltage, then the analog voltage value displayed on the LCM
VxWorksDemosProject
- 初学者很好的实验源码,包括任务创建管理、任务间信号量的通信、消息队列、管道等-Good test source for beginners, including the task of creating management, semaphore communication between tasks, message queues, pipes, etc.
MultiThread
- 一个多线程的会话界面,通过使用信号量来限制每次进行会话的人数,是学习多线程一个很好的例子-Interface of a multi-threaded conversation, through the use of semaphores to limit the number of conversation, is to learn a good example of multi-threaded