文件名称:EventSynch
-
所属分类:
- 标签属性:
- 上传时间:2013-12-29
-
文件大小:16.66kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC++利用事件对象实现线程同步的问题,示例代码实现两大功能:1、不使用事件同步启动两个线程向编辑框中写入不同字符;对于没有使用同步对象时,可能出现输出字符比使用同步对象时少的现象,这是因为线程同时对资源进行操作的结果。2、使用事件同步启动两个线程向编辑框中写入不同字符,VC++编程学习源码,很好的参考资料。-VC++ use the event object implements the thread synchronization, sample code to achieve two major functions: 1, do not use the event synchronization start two threads to different character to the edit box for without the use of synchronization object, possible output characters than the synchronization object is used less phenomenon, this is because the threads operate on the resources at the same time results. 2, the use of event synchronization start two threads to different character to the edit box, learning VC++ programming source code, a good reference.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EventSynch.aps
EventSynch.clw
EventSynch.cpp
EventSynch.dsp
EventSynch.dsw
EventSynch.h
EventSynch.rc
EventSynchDlg.cpp
EventSynchDlg.h
res/
resource.h
res/EventSynch.ico
res/EventSynch.rc2
StdAfx.cpp
StdAfx.h
EventSynch.clw
EventSynch.cpp
EventSynch.dsp
EventSynch.dsw
EventSynch.h
EventSynch.rc
EventSynchDlg.cpp
EventSynchDlg.h
res/
resource.h
res/EventSynch.ico
res/EventSynch.rc2
StdAfx.cpp
StdAfx.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.