检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]唐山市人才交流中心,河北唐山063000 [2]河北理工大学计算机与自动控制学院,河北唐山063009
出 处:《唐山学院学报》2006年第2期106-108,共3页Journal of Tangshan University
摘 要:本文给出了基于回调函数的多线程应用程序实现方法。通过回调函数开辟子线程,而采用回调函数的消息响应函数实现具体的数据处理。因回调函数的消息响应函数可作为VC++某个类的成员函数,故可调用该类的其他成员函数和成员变量,从而避免了因采用过多的全局变量进行线程通信而降低系统效率。The method for realizing muhithread program based on callback function and Visual c++ is given in this paper. With callback function, subthread is created and data are processed in message response function of callback function. 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.
分 类 号:TP317[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49