搜索资源列表
producer-consumer
- 利用记录型信号量解决生产者-消费者问题 利用记录型信号量解决生产者-消费者问题-Record semaphore to solve the producer- consumer problem
tp-piscin.java
- This code is about "semaphore"-This code is about "semaphore"
xinhao
- ucos下 ARM7,LPC2138的信号量使用范例很好的代码-ucos under the ARM7, LPC2138 semaphore example of good code
vmd642_sem_task
- DM642 平台下旗语模块的使用,可以正常运行-The use of the semaphore module DM642 platform, normal operation
Semaphores
- 用Semaphores解决JAVA生产者消费者问题-Using Semaphore to solve the producer and consumer Question
E2
- JAVA用Semaphore解决多线程矩阵运算-using Semaphore to solve matrix calculation
Semaphore
- 操作系统中的生产者—消费者问题,在Windows上实现-The producer- consumer problem, the operating system on Windows
Semaphore
- 主、子两个线程之间的同步,要求子线程先执行。在主线程中使用系统调用CreateThread()创建一个子线程。主线程创建子线程后进入阻塞状态,直到子线程运行完毕后唤醒主线程。-The main synchronization between two threads of the child requires the child thread is executed first. In the main thread using the system call CreateThread () to
memory-op
- 使用Windows 2000/XP的API函数,编写一个包含两个线程的进程,一个线程用于模拟内存分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作。-Use the API functions in Windows 2000/XP, the preparation of a process contains two threads, one thread is used to simulate memo
RTX51tiny
- 51单片机上的实时操作系统RTX51程序5合一,含有信号量的使用,交通灯、电子钟等例子,并用含proteus仿真文件,非常适合对51单片机感兴趣同时想进入RTOS领域的同学-51 single-chip real-time operating system RTX51 program one that contains the example of semaphore use, traffic lights, electronic clock, and including proteus sim
Lab2.2
- 实现了内核的信号量,内核的消息机制,采用中断方式处理设备驱动。-Kernel semaphore, the kernel of the message mechanism, interrupt processing device drivers.
OS
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 读者优先的附加限制:如果读者申请进行读操作时已有另一个读者
DemoProject
- ucosii 消息队列和信号量 多按键处理-ucosii message queue and semaphore key multi-processing
ThreadAsyn1
- 嵌入式系统 信号量 五种集成(无信号量、互斥、信号量、事件、临界区)-Embedded system semaphore five integrated (no semaphores, mutexes, semaphores, events, critical area)
thread
- wince 信号量 五种集成(无信号量、互斥、信号量、事件、临界区)-wince semaphore five integrated (no semaphores, mutexes, semaphores, events, critical sections)
Thread
- 同步信号:信号量同步,临界区同步,互斥同步,清屏功能。-Synchronization signals: semaphore synchronization, critical section synchronization, mutual exclusion synchronization
queue
- 共享内存及信号量PV操作封装 功能:信号量p操作,信号量V操作 共享内存初始化,取出数据, 放入数据,统计共享内存队列长度 -PV Operation package features: shared memory and semaphores semaphore p operation, the semaphore V operation shared memory initialization, remove the data into the data, the sta
Producer---Consumer
- 用c代码通过编程实现生产者消费者掌握信号量实现进程同步及其应用。很不错。-C code programming producers and consumers to grasp the semaphore implementation process synchronization and its application. Very good.
cao
- 操作系统,公共厕所使用问题(PV信号量问题)-Operating system, public toilets (semaphore)
semaphore-(PV-opreate)
- 信号量PV操作的封装函数,包括一个.c文件和.h文件 用于进程间通信的同步.-simplified sem_wait and sem_post function