文件名称:Realization-of-Multithread-Program-Based-on-Callba
介绍说明--下载内容均来自于网络,请自行研究使用
本文给出了基于回调函数的多线程应用程序实现方法。通过回调函数开辟子线程,而采用回调函数的消息响应函数实现具体的数据处理。因回调函数的消息响应函数可作为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