摘要:

为了满足系统各个任务对实时性的要求,需要实现各个任务的并行处理。针对VxWorks操作系统的多任务调度机制和任务通信方式进行了分析;采用基于时间片轮转调度实现多任务程序设计,可以动态改变各个任务期望运行的时间片;对各种通信方式和实现方法进行了比对,并给出了优化方案。上述设计方法实时性强,可靠性高,系统可扩展性良好,能够很好地满足工程需要。

下载地址

Files:
Date 2018-10-16
File Size 835.17 KB
Download 529

In order to meet the real-time demands of the multi-task of the system,the parallel processing for all kinds of tasks was required.Multi-task scheduling and task communication mechanism about VxWoks operating system were analyzed.The design of rotating schedule based on time slice was put in use on the multi-task programming,as well as,the time slice of the expectations of each task running could be dynamically changed.At the same time,most of the communication means and methods were compared,and the better optimization was given.The method could be satisfied the engineering requirments with good performance on real time characteristics,high reliability,and good expansibility.