文件名称:Realization-of-Multithread-Program-Based-on-Callba
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:166.43kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本文给出了基于回调函数的多线程应用程序实现方法。通过回调函数开辟子线程,而采用回调函数的消息响应函数实现具体的数据处理。因回调函数的消息响应函数可作为VC + + 某个类的成员函数,故可调用该类的其他成员函数和成员变量,从而避免了因采用过多的全局变量进行线程通信而降低系统效率-The met hod for realizing multit hread program based on callback function and Visual c++ is given in this paper.Wit h callback f unction , subt hread is created and data are processed in message response f unction of callback f unction. Because message response function of callback function can be a member function of a class such as View class , it is able to use member functions and member variables to avoid lowering the efficiency of the system with the use of many global variables.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Realization-of-Multithread-Program-Based-on-Callback-Function-and-Visual-C.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.