文件名称:EventSynch
-
所属分类:
- 标签属性:
- 上传时间:2014-01-14
-
文件大小:474.88kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC++利用事件对象实现线程同步的问题,示例代码实现两大功能:1、不使用事件同步启动两个线程向编辑框中写入不同字符;对于没有使用同步对象时,可能出现输出字符比使用同步对象时少的现象,这是因为线程同时对资源进行操作的结果。2、使用事件同步启动两个线程向编辑框中写入不同字符,VC++编程学习源码,很好的参考资料。-VC++ using the event object implements thread synchronization problems, sample code to achieve two functions: one, do not use the event synchronization start two threads write different character to the edit box For when you do not use synchronization objects, characters than possible using synchronous output small object phenomenon because threads result of the operation to the resource. 2, using the event synchronization start two threads write different character to the edit box, VC++ programming learning source, 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
wry.dat
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
wry.dat
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.