搜索资源列表
os
- 多道程序缓冲区协调操作实验报告:通过信号量实现多道程序缓冲区协调操作。-The multiprogramming buffer coordinated manipulation experiments report
multitreadsrc4
- 多线程编程 包括2个程序,事件及信号量的使用介绍-Multi-threaded programming, including the use of two programs, events, and semaphores introduced
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
heisiik123
- 运用文件共享、互斥体、信号量、关键段、油槽及管道实现线程同步和进程通讯。-The use of file sharing, and mutexes, semaphores, critical sections, tank and piping, thread synchronization and interprocess communication.
mutex
- 关于进程间通信的代码,实现进程间的互斥,最简单的进程(信号量之间进行互斥)-Code on the inter-process communication (mutex)
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
forkSYSV
- 本任务主要目的练习UNIX/LINUX同步编程,熟悉基本的线程相关API。 任务要求 编程实现下图的效果,要求分别使用进程和线程 (1) 进程+SYS V信号量 (2) 线程实现+Posix同步操作API -The main purpose of this task exercises UNIX/LINUX synchronization programming, familiar with the basic thread-related APIs. Tasks requi
ThreadPosix
- 本任务主要目的练习UNIX/LINUX同步编程,熟悉基本的线程相关API。 编程实现下图的效果,要求分别使用进程和线程 (1) 进程+SYS V信号量 (2) 线程实现+Posix同步操作API -The main purpose of this task exercises UNIX/LINUX synchronization programming, familiar with the basic thread-related APIs. Tasks require p
linux
- linux系统编程的相关示例,包括文件,进程,管道,shell,信号量等相关实例程序,对linux系统编程入门有一定帮助-Linux System Programming example, the instance of the program, including file, process, piping, shell, and semaphores Introduction to linux system programming
philosopher
- 哲学家就餐问题,有左撇子,至少使用信号量、消息通信、管程三种方式之中的一种模拟哲学家就餐问题。 用一个输入变量控制是否有左撇子哲学家。如果有,其数量由随机数生成。 模拟程序分为两种情况, 可能发生死锁的情况,输出发生死锁时的资源分配状态和历史资源分配状态; 设计没有死锁发生的程序,当每个哲学家至少完成一次就餐后,输出资源分配给哲学家的当前状态和历史状态。 最好具备图形界面,动态显示哲学家就餐的过程。-Dining philosophers problem, a left-ha
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
tuucos-semh
- ucos2的sem信号量通信机制的应用,对学习UCOS的程程序开发非常有帮助-ucos sem,已通过测试。 -ucos2 the sem semaphore application of the communication mechanism, the learning process UCOS program development very help-ucos sem, has been tested.
XinHaoLiang
- 教科书式的DELPHI源码,演示了线程线程中如何使用信号量,相信对初学者会有很大帮助。-Textbook DELPHI source code, demonstrates how to use the semaphore thread thread, I believe there will be a great help for beginners.