文件名称:sync
介绍说明--下载内容均来自于网络,请自行研究使用
实现多线程同步编程:
用软件方法(Peterson算法和Dekker算法)解决临界区问题-兄弟问题。
用同步对象解决临界区问题-兄弟问题。
用互斥量解决生产消费者问题;用信号量解决生产消费者问题。
-Achieve multi-threaded programming Synchronization: Ways to use software [Peterson algorithm and Dekker algorithm] to solve critical questions- questions brothers. Synchronization object used to resolve critical questions- questions brothers. With mutually exclusive production volume of consumer questions use semaphores to solve the production of consumer issues.
用软件方法(Peterson算法和Dekker算法)解决临界区问题-兄弟问题。
用同步对象解决临界区问题-兄弟问题。
用互斥量解决生产消费者问题;用信号量解决生产消费者问题。
-Achieve multi-threaded programming Synchronization: Ways to use software [Peterson algorithm and Dekker algorithm] to solve critical questions- questions brothers. Synchronization object used to resolve critical questions- questions brothers. With mutually exclusive production volume of consumer questions use semaphores to solve the production of consumer issues.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
多线程同步
..........\ex1.cpp
..........\ex2.dat
..........\ex2(Dekker算法).cpp
..........\ex2(Peterson算法).cpp
..........\ex3.dat
..........\ex3(用临界区实现).cpp
..........\ex4 (用互斥量实现).cpp
..........\ex4 (用系统信号量实现 ).cpp
..........\ex4.dat
..........\说明.txt
..........\ex1.cpp
..........\ex2.dat
..........\ex2(Dekker算法).cpp
..........\ex2(Peterson算法).cpp
..........\ex3.dat
..........\ex3(用临界区实现).cpp
..........\ex4 (用互斥量实现).cpp
..........\ex4 (用系统信号量实现 ).cpp
..........\ex4.dat
..........\说明.txt