- 18
- 0
- 约1.43万字
- 约 7页
- 2020-06-15 发布于陕西
- 举报
中国科技论文在线
RTI 的线程模型在仿真系统中的研究与
应用
李沫,刘晓鸿**
5 (北京邮电大学计算机学院,北京 100876)
摘要:RTI(Run-Time Infrastructure )是仿真与建模高层体系结构 HLA(High Level
Architecture)的实现。基于多线程模型的RTI开发联邦成员时会遇到以下两个问题:怎样
保证仿真主线程和回调线程互斥访问共享数据;无论使用哪种线程模型的RTI,在回调函数
中都不能直接调用RTI服务。首先讨论了RTI的线程模型以及其对开发联邦成员的影响,然
10 后讨论利用回调队列缓冲回调事件的方法解决以上提出的两个问题,最后给出了用C++语言
实现的回调队列。
关键词:HLA;RTI;线程模型;同步
中图分类号:TP391.75
15 The Research and Application of RTI Process Models in
Simulation Systems
LI Mo, LIU Xiaohong
(School of Computer Science, Beijing University of Posts and Telecommunications,
Beijing 100876)
20 Abstract: RTI (Run-Time Infrastructure) is the implementation of Modeling and Simulation High
Level Architecture. The following two problems will be encountered when we use multi-threaded
RTI: the problem that how to ensure that the callback thread and the main simulating thread have
mutually exclusive access to the shared data structures and the problem that RTI services can’t be
invoked in the callback functions no matter which RTI process model we choose. Firstly, the RTI
25 process model and its influence on developing federates are argued, and then design a callback
queue to buffer the callback events in order to solve the above two problems. Lastly, the
implementation of the callback queue is given using C++.
Keywords: HLA; RTI; process model; synchronization
30 0 引言
HLA 是新一代分布交互式仿真体系结构标准。1998年产生了DoD(Department of Defense)
您可能关注的文档
最近下载
- 2026年福建长泰国有投资集团有限公司及权属子公司招聘5人备考考试题库及答案解析.docx VIP
- 2026年福建长泰国有投资集团有限公司及权属子公司招聘5人考试参考题库附答案解析.docx VIP
- 2024年漳州市长泰区国有企业招聘真题.docx VIP
- 2026福建长泰国有投资集团有限公司及权属子公司正式员工招聘5人备考考试试题及答案解析.docx VIP
- 复合铜箔生产基地、薄膜金属化研发试验中心项目报告表.pdf VIP
- 小嘀人脸识别智能锁R5-产品说明书.pdf
- 2026年福建长泰国有投资集团有限公司及权属子公司招聘5人笔试备考试题附答案解析.docx VIP
- 2026福建长泰国有投资集团有限公司及权属子公司正式员工招聘5人备考考试题库及答案解析.docx VIP
- 小学语文一到六年级带注音生字表(人教版).doc VIP
- 2025年漳州市国企考试真题.docx VIP
原创力文档

文档评论(0)