摘要
分析了分布式防空C3I的分布仿真的通信信息的特点:信息的多样性和时效性,分析了线程同步方法和防死锁方法。利用VJ++6.0的多线程技术,建立了缓冲类、存信息线程类和取信息线程类,利用VJ++6.0的多线程技术实现了网络通信信息的双缓冲存取。通过线程的同步、并发处理,提高了信息存取的时效性。此方法在仿真程序中得到了很好的应用。
The communication-character of distributed simulation about distributed air-defense C^3I is analyzed,the character of system are variety and timely information.The synchronized method and anti-died method are analyzed,and the class of suffer,the class of information-storage thread,the class of PoP thread are founded.The storage and PoP of information in the double-buffer is implemented by the multi-thread technique of VJ++6.0.The efficiency of the storage and PoP of information is improved by the synchronize and the concurred implement.And this technique is applied well in the simulated program.
出处
《计算机应用研究》
CSCD
北大核心
2003年第12期104-106,共3页
Application Research of Computers
关键词
多线程
信息
类
Multi-threads
Information
Class