搜索资源列表
processsynchronous
- 经典胡睡觉理发师问题,利用信号量实现进程同步-Classic Hu sleeping barber problem using semaphores to achieve process synchronization
qianrushibiancheng.renwudediaoyong
- 嵌入式系统(研)任务的调用实验,信号量的定义及使用,是入门级的代码,可以帮助刚刚入门的学习任务,信号量和优先级的练习-Embedded Systems (Research) experimental mission call, Semaphore the definition and use, are entry-level code that can help just getting started studying tasks, semaphores and priority class
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h,db_h,used as a counter and mutex between 2 writers. Main function create 3 reader thre
filesystem
- 一个linux环境下的模拟文件系统的程序,里面有使用说明,能够创建,删除,复制文件,用到了linux共享内存和信号量,另外有个shell程序进程与文件系统程序进行通信。-A linux file system environment, the simulation program, which has instructions for use, the ability to create, delete, copy files, use a linux shared memory and sem
Producer-consumer-model
- 生产者消费者模型,用c语言实现模拟内存管理中的生产者和消费者,实现用信号量和锁的使用方法-Model of producers and consumers, producers and consumers in the analog memory management using the c language, the use of semaphores and locks
6
- 使用信号量实现有限缓冲区的生产者和消费者问题 使用信号量实现读进程具有优先权的读者和写者问题 -Producers and consumers semaphore limited buffer using semaphores reading process has a priority of readers and writers
read
- 图书馆模型,用信号量模拟20个读者线程到达图书馆,3个阅览位置,5个等待位置的场景。如果有阅览位则读书,没有阅览位有等待位则等待。没有等待位直接离开-Library model, using semaphores analog 20 readers thread reaches Library, three viewing positions, five waiting position of the scene. If you have read the bit is read, no rea
PV
- 基于信号量与P/V操作同步机制的读者/写者问题的设计与实现 (1)设置读者、写者个数输入(界面);实现读者、写者进程的动态创建; (2)用信号量与P/V操作同步机制实现写者优先的读者/写者问题。 (3)设计并实现运行结果(界面)包括: 动态显示多个读者或一个写者的读/写操作互斥状态: 显示正在进行读或写操作的进程,以及等待读或写操作的进程; 动态显示写者优先的过程: 即当有读者进程在读时,有写者进程要求写操作,后续的读者进程应该等待;并且当读操作的读者进程结束读操作
nachos02
- nachos 系统下使用信号量和条件变量,锁实现对链表和缓冲区中信息的修改,确保线程的同步。-Under the nachos system using semaphores and condition variables, the lock list and buffer to achieve changes to the information, to ensure the synchronization of threads
AuctionSemaphores
- Its an implementation of distributed semaphores framework, also includes a sample application. a tutorial not for production use-Its an implementation of distributed semaphores framework, also includes a sample application. a tutorial not for produc
ThreadTool
- qt 多线程例子,实现信号量,线程通讯等 (QT multi-threaded example, the realization of semaphores, threads, communications, etc.)
gps
- 本项目设计一个类似自行车码表的产品,除了LCD显示骑行速度、骑行里程外、日期时间外,增加了GPS卫星状态、电池电量、电子指南针(当前方向)、转向及警示尾灯。 软件基于FreeRTOS嵌入式操作系统。各功能模块对应相应的任务。任务间通过队列交互信息,通过二值信号量阻塞相关任务,完成任务调度。在空闲任务中进入低功耗模式。(This project designs a bicycle code meter-like product, which adds GPS satellite status, b
