检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华中科技大学国家数控系统工程技术研究中心,武汉430070
出 处:《计算机工程》2010年第14期204-205,共2页Computer Engineering
基 金:国家"十一五"重大专项基金资助项目"开放式全数字高档数控装置"(2009ZX04009-011-02)
摘 要:在多实例多线程情况下,ActiveX组件的不同实例共享同一全局数据缓冲区,在改造集成面向过程开发的传统代码时必须修改代码以消除全部全局变量。针对该情况,使用线程局部存储技术实现全局变量的局部化,采用具有大量全局变量的实体仿真代码实现ActiveX封装。该技术已成功应用于基于工业以太网的多通道数控系统中。In multiple instance and threads runtime system,global variables of the component are shared by each instance.When using ActiveX to integrate historical codes,such global variables must be removed by modifying source code.Aiming at this situation,this paper uses the Thread Local Storage(TLS) technology to realize the localization of global variables,and uses the entity simulation codes which have a large number of global variables to realize the encapsulation of ActiveX.The ActiveX implementation is successfully applied in a new generation of Ethernet based multiple channel Computer Numeric Control(CNC) system.
关 键 词:数控系统 线程局部存储 组件对象模型 ACTIVEX组件
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.123