文件名称:mutex
-
所属分类:
- 标签属性:
- 上传时间:2014-04-29
-
文件大小:610byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本实验讨论临界区问题及其解决方案。实验首先创建两个共享数据资
源的并发线程。在没有同步控制机制的情况下,我们将看到某些异常现象。
针对观察到的现象,本实验采用两套解决方案:
• 利用Windows 的mutex 机制
• 采用软件方案
然后比较这两种方案的性能优劣。-In this study, discuss problems and solutions critical region. Experiment first create two shared data resources concurrent threads. In the absence of synchronization control mechanism, we will see some of the anomalies. For the observed phenomena, the present study, two solutions: • • The use of mutex mechanism for Windows using software programs and then compare the performance of the pros and cons of these two programs.
源的并发线程。在没有同步控制机制的情况下,我们将看到某些异常现象。
针对观察到的现象,本实验采用两套解决方案:
• 利用Windows 的mutex 机制
• 采用软件方案
然后比较这两种方案的性能优劣。-In this study, discuss problems and solutions critical region. Experiment first create two shared data resources concurrent threads. In the absence of synchronization control mechanism, we will see some of the anomalies. For the observed phenomena, the present study, two solutions: • • The use of mutex mechanism for Windows using software programs and then compare the performance of the pros and cons of these two programs.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mutex.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.