搜索资源列表
MultiThread10
- 利用信号量来实现线程间的同步.在信号量对象有信号的状态下,线程执行到WaitForSingleObject语句处继续执行, 同时可用线程数减1;若线程执行到WaitForSingleObject语句时信号量对象无信号, 线程就在这里等待,直到信号量对象有信号线程才往下执行。-Using CSemaphore class to realize synchronization among threads.
6
- 使用信号量实现有限缓冲区的生产者和消费者问题 使用信号量实现读进程具有优先权的读者和写者问题 -Producers and consumers semaphore limited buffer using semaphores reading process has a priority of readers and writers
mutex_semphore
- Linux下操作系统的基本知识,在多线程处理中通过信号量进行互斥处理。-Basic knowledge of the Linux operating system under multithreading semaphore mutex.
Design-of-the-CompactPCI
- 介绍了CompactPCI 总线、接口技术、配置空间的内容和操作方法。详细说明在VxWorks 实时操作系统下配置 CompactPCI 总线设备的方法。硬件中断处理是实时系统设计中的关键问题。该设计将外部中断与中断服务程序连接, 并控制QL5064 PCI 接口的中断控制寄存器。在中断服务程序中使用信号量实现任务间的同步,保证了系统实时数据 采集的可靠性。-CompactPCI bus interface technology, the contents of the config
sem
- linux下信号量封装,SystemV的,自己的简单封装-the under linux semaphore package, SystemV, own simple packaging
ConsumerAndProducer
- 操作系统实验3生产者消费者模拟,使用互斥量和信号量-Experimental producers and consumers analog operating system, use mutexes and semaphores
program
- 该程序实现两个线程并行执行,使用信号量同步进行。-The program two threads execute in parallel, using the semaphore synchronization.
threads
- 多线程十大经典案例之一秒杀多线程,多线程同步互斥问题《秒杀多线程第四篇一个经典的多线程同步问题》及解决多线程同步互斥的常用方法——关键段、事件、互斥量、信号量、读写锁。为了让大家更加熟练运用多线程,将会有十篇文章来讲解十个多线程使用案例,相信看完这十篇后会让你能更加游刃有余的使用多线程。-Multi-threaded Ten classic case of the spike multi-threaded, multi-thread synchronization mutex problem &
Dining-philosophers-problem
- 哲学家就餐问题是一道十分经典的进程同步问题。该道题旨在解决当资源有限时(可能产生死锁),如何有效地避免死锁的问题。本实验选取“and”型信号量的解决办法,只有当哲学家具备同时拿到左右两只筷子的能力时,才能吃饭。否则,若则学家只能能够拿到一只筷子时,他只能放弃这只筷子,供其他可能需要这只筷子的哲学家使用。这样,只有哲学家左右两人均不进食时,该哲学家才有吃饭的权利。采取这种方法可以有效地避免死锁的产生。-The dining philosophers problem is a very classi
philosopher5
- 在linux下的哲学家问题的解决方案,使用了信号量等知识-Philosophers solution to the problem under linux, using semaphore knowledge
duohe
- 多核编程,包括多线程编程,计算PI,临界区实验,信号量实验,非常完整-Multi-core programming, including multi-threaded programming, calculated PI, critical section experiments, semaphores experiment, very complete
cnt10
- 十进制计数器 只使用信号量 非使用变量 -failed to translate
sharedFIFO
- 信号量+共享内存 一个实现信号量以及共享内存的封装类-semphore and shared memory
ReaderAndWriter
- 操作系统课程设计,使用PV操作机器信号量、锁等机制,实现读者和写者互斥访问临界资源-Courses on operating system design, the use of PV operate the machine semaphore lock mechanisms, readers and writers to achieve mutually exclusive access to critical resources
UCOS_API
- 任务管理OS_TASK.C(API) 时钟管理OS_TIME.C(API) 信号量 OS_SEM.C(API)-The task management OS_TASK.C (API) the clock management OS_TIME.C (API) the semaphore OS_SEM.C (API)
vcthr
- VC线程信号量的使用举例源码,点击启动线程,可发现出现了什么。介绍线程方面的基础知识技巧。-VC thread the use of semaphores example source code, to click start threads can be found what appeared. Introduce the thread the basics skills.
reader_writer-problem
- 多线程编程练习,使用信号量机制解决同步问题,本程序解决读者写者问题,操作系统实验。 -The multithreaded programming exercises using semaphore mechanism to solve the synchronization problem, solve the readers who wrote in the program, experimental operating system.
VxWorksDemosProject
- vxworks演示程序包括信号量,管道,队列,看门狗等等。-vxworks demo program, including semaphores, pipes, queues, watchdog.
mutex
- Linux中信号量、线程、同步及互斥等例子-Examples of Linux, semaphores, threads, synchronization and mutual exclusion
VC_OF_single
- 在VC++中如何使用信号量,本例简单的展示了信号量的使用。-In VC++ how to use the semaphore, this example shows the use of a semaphore.