首页> 外国专利> Operating system having a non-interrupt cooperative multi-tasking kernel and a method of controlling a plurality of processes with the system

Operating system having a non-interrupt cooperative multi-tasking kernel and a method of controlling a plurality of processes with the system

机译:具有不间断协作多任务内核的操作系统以及利用该系统控制多个进程的方法

摘要

A multitasking operating system (10) for controlling performance of a plurality of processes (24). A plurality of event queues (32) are provided, with each event queue corresponding to a process and having a priority. An event scheduler function (40) places events to be processed into the event queues (32). Each event queue (32) which has at least one event to be processed is an active event queue. An event fetch function (42) searches the event queues (32) for an active event queue having the highest priority, and retrieves an event for processing from that event queue. An event dispatcher function (52) dispatches the retrieved event to a state of the process (24) corresponding to the highest priority active event queue. The state is at least a portion of the corresponding process (24) and is associated with the processing of the retrieved event. The state is executed by a processor (20) to process the event. The execution is not interrupted because of any activity within the event queues. The kernel (18) regains control after execution of the state, and the processor (20) does not proceed (i.e., halted) to another state of the corresponding process (24) until the event dispatcher function (52) of the kernel dispatches a retrieved event to another state of the corresponding process.
机译:用于控制多个进程( 24 )的性能的多任务操作系统( 10 )。提供了多个事件队列( 32 ),每个事件队列对应于一个进程并具有优先级。事件调度程序功能( 40 )将要处理的事件放入事件队列( 32 )。具有至少一个要处理的事件的每个事件队列( 32 )是一个活动事件队列。事件提取功能( 42 )在事件队列( 32 )中搜索具有最高优先级的活动事件队列,并从该事件队列中检索要处理的事件。事件分派器功能( 52 )将检索到的事件分派到与最高优先级活动事件队列相对应的进程状态( 24 )。该状态至少是相应进程( 24 )的一部分,并且与检索到的事件的处理相关联。该状态由处理器( 20 )执行以处理事件。由于事件队列中的任何活动,执行不会中断。内核( 18 )在执行状态后重新获得控制,并且处理器( 20 )不会进入(即暂停)相应进程的另一状态(< B> 24 ),直到内核的事件分派器功能( 52 )将检索到的事件分派到相应进程的另一个状态。

著录项

  • 公开/公告号US6408324B1

    专利类型

  • 公开/公告日2002-06-18

    原文格式PDF

  • 申请/专利权人 TRW INC.;

    申请/专利号US19970888306

  • 发明设计人 JON KELLY WALLACE;DALE WALTER KAROLAK;

    申请日1997-07-03

  • 分类号G06F90/00;

  • 国家 US

  • 入库时间 2022-08-22 00:48:49

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号