搜索资源列表
pp_mutex
- 用MFC实现进程互斥,用的是MUTEX互斥信号量-with MFC contradict process, the signal is MUTEX contradict volume
windows_reader_writer
- 线程的读者优先与写者优先。创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件进行读写操作。用信号量机制分别实现读者优先和写者优先的读者写者问题。-priority threads with the readers who wrote priority. The process of creating a console, this process contain n threads. Use of these n threads to expre
func
- linux 下的进程同步 利用线程控制函数进行线程同步 主要利用信号-the use of thread synchronization process control function for the main thread synchronization signal
threadphilosopher
- 利用线程方案实现实现哲学家问题.设置五个信号量代表五把叉子,初使值均为1,表示5把叉子均可以取,设置五个线程代表5个哲学家,其值分别为0~4,规定奇数号的哲学家先拿起他左边的叉子,然后再去拿他右边的叉子 而偶数号的哲学家则相反.按此规定,将是1,2号哲学家竞争1号叉子,3,4号哲学家竞争3号叉子.即五个哲学家都竞争奇数号叉子,获得后,再去竞争偶数号叉子,最后总会有一个哲学家能获得两支叉子而进餐。而申请不到的哲学家进入阻塞等待队列,根FIFO原则,则先申请的哲学家会较先可以吃饭,因此不会出现饿死的
ThreadSync
- 该应用程序运行后自动创建两个线程。线程1每50毫秒计数器加1,线程2每100毫秒计数器加1。只读编辑框中分别显示两个计数器的值。两个命令按钮分别控制线程1和线程2的挂起和恢复。“同步”复选框控制两线程的同步,当处于同步状态时,同一时刻只能有一个线程拥有信号量对象,当某一线程拥有信号量对象时,计数器加10,然后释放信号量对象。由于两线程优先级相同,因此,执行结果是每个线程计数器一次以10为步长增加。-run the application automatically creates two thr
philosophers05
- 经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
mutexeslhb
- windows信号灯控制的源代码,通过本例可以学习信号灯的使用-windows signal control of the source code, through the cases can learn from the use of lights
CriticalSection1
- 信号量实现临界区访问-signal to achieve critical visit
shm_sem1
- 信号灯实现多线程控制例子。-signal multi-threaded control examples.
producer&consumer
- 操作系统实验 生产者与消费者 互斥问题 信号量操作 两种选择-experimental operating system producers and consumers Mutual Exclusion signal to operate two options
Windows存储管理实习
- 使用Windows 2000 / XP的API函数,编写一个包含两个线程的进程,一个线程用于模拟内存分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实现同步。-use Windows 2000 / XP API functions, including the preparation of a two-threaded process, a thread used to simulate memory allocation, a thread used to tra
ReaderAndWriter
- 在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n read
TRMP
- 一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级-a multithreaded parallel port control signals sent to the procedures, the frequency control signal to achieve microsecond
读者-写者问题
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each t
另一个读者写者问题
- 创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题。-the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the corresponding t
producerConsumerModel_src
- 当前比较流行的线程生产者和消费者模型,主要采用了信号灯机制。在vc6编译-current more popular threads model of producers and consumers, mainly in the signal mechanism. The compiler vc6
lifashi
- 理发师睡觉问题 可以利用它来解决嗜睡的理发师问题 进程调度与信号量问题-Seville sleep problems can use it to solve the problem sleepiness barber process scheduling and capacity problems of signal
producerconsumer.rar
- 进程同步模拟设计——生产者和消费者问题 .用手动输入的方式模拟信号量机制的生产者与消费者问题。,Synchronous analog design process- the issue of producers and consumers. Methods used to manually enter the amount of analog signal mechanism for the producer and consumer issues.
VC--Matlab-signal-acquisition
- 源代码-多线程VC++和Matlab混编在信号采集和处理中的应用-Source code- multi-threaded VC++ and Matlab in signal acquisition and processing
Signal
- Windows操作系统下,信号通信 VC6环境-Signal Communicate