首页> 外文会议>Electrical and Computer Engineering, 2004. Canadian Conference on >Implementing task scheduling and event handling in RTOS+
【24h】

Implementing task scheduling and event handling in RTOS+

机译:在RTOS +中实施任务计划和事件处理

获取原文

摘要

An important component in the kernel of a real-time operating system (RTOS) is the task scheduler. Various solutions on task scheduling, such as priority inheritance and priority ceiling, have been proposed to deal with the priority-inversion problem that arises when a preemptive priority driven scheduling scheme is used. However, the priority inheritance protocol introduces drawbacks such as multiple blocking of tasks and deadlock, while the priority ceiling protocol is hardly supported by most existing real-time operating systems. We first present a formal description of a task scheduling algorithm that provides a solution to the priority inversion problem and eliminates multiple blocking of tasks running in a single processor platform. We use RTPA (real-time process algebra), a formal specification notation, to describe rigorously the architecture, and static and dynamic behaviours of the task scheduler. Our method employs a multi-queue based scheduling system in which all tasks pending on a resource or event are put into different queues with preassigned priorities. This technique eliminates the problem of priority inversion and prevents multiple-blocking and deadlock from happening. Based on the new method, a framework for implementing task scheduling and event handling is implemented for RTOS+, which is a portable real-time operating system developed by the authors.
机译:任务调度程序是实时操作系统(RTOS)内核中的重要组件。已经提出了关于任务调度的各种解决方案,例如优先级继承和优先级上限,以解决使用抢先式优先级驱动调度方案时出现的优先级反转问题。但是,优先级继承协议引入了诸如多重阻止任务和死锁之类的缺点,而大多数现有的实时操作系统几乎不支持优先级上限协议。我们首先介绍任务调度算法的形式化描述,该算法为优先级反转问题提供了解决方案,并消除了在单个处理器平台上运行的任务的多重阻塞。我们使用RTPA(实时过程代数)(一种正式的规范表示法)来严格描述任务调度程序的体系结构以及静态和动态行为。我们的方法采用了基于多队列的调度系统,其中将资源或事件上待处理的所有任务放入具有预先分配的优先级的不同队列中。该技术消除了优先级倒置的问题,并防止了多重阻塞和死锁的发生。基于新方法,为RTOS +实现了用于实现任务调度和事件处理的框架,该框架是作者开发的便携式实时操作系统。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号