摘要
在PC机上进行基于三维视景的功能应用开发需要考虑充分并合理利用CPU资源的问题。该文分析基于三维视景的火箭飞行安全控制系统的多任务组成,并从多线程技术角度讨论系统的任务管理方法,即系统各个组成结构模块的任务调度策略和运行方式,解决系统多线程实现中的一些关键问题,包括任务的驱动类型、时钟管理、线程同步与互斥方法,并使用任务模式简化了视景渲染线程与其他线程的交互,保证了系统多任务处理时正确的逻辑关系和数据传递的正确性。
How to soundly and fully use CPU resource should be taken into consideration when doing application development based on three - dimensional scene visualization on PC. This paper introduces multi - tasks of a rocket flight safety control system based on 3D scene visualization, discusses the task management method based on multi - thread technology , i.e. the task scheduling strategy and operation method of the function modules of the system, solves some problems of the multi - thread application including driven mode, clock management, thread synchronization and mutex method, and employs task pattern to minimize the interaction between scene rending thread and other threads. All these ensure the logic and data transfer availability of multi - task parallel processing.
出处
《计算机仿真》
CSCD
2006年第4期20-22,40,共4页
Computer Simulation
基金
国家863项目资助(2003AA132050)
关键词
任务管理
多线程
任务模式
三维视景
安全控制
Task management
Multi - thread
Task pattern
3D scene visualization
Safety control