基于线程局部存储技术的多通道数控系统仿真  

Simulation of Multiple Channel Computer Numeric Control System Based on Thread Local Storage Technology

在线阅读下载全文

作  者:王晓宇[1] 陈吉红[1] 唐小琦[1] 

机构地区:[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[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象