×

Method for implementing event transfer system of real time operating system

  • US 6,907,606 B1
  • Filed: 03/17/2000
  • Issued: 06/14/2005
  • Est. Priority Date: 03/19/1999
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a method for implementing an event transfer system of a real time operating system kernel under a multi-tasking environment in which a priority-based preemptive scheduling is adapted, a method for implementing an event transfer system of a real time operating system kernel for a plurality of tasks in the multi-tasking environment, comprising:

  • each of said tasks calling a kernel system function for receiving an event with respect to one event under the multi-tasking environment; and

    blocking each of said tasks and inserting each of said tasks into a waiting-list for the event in priority order when no event is provided to the tasks, wherein all of said tasks are queued and prioritized within said waiting-list for the event;

    checking a validity of an event ID for thereby generating an error code in the case of validity when the kernel system function of receiving the event starts; and

    returning a routine from the kernel system function;

    wherein in the case that the event transfer occurs, the task having the highest priority in the waiting-list obtains the event, is activated and an execution of said highest priority task is resumed;

    wherein when transferring the event, the method further includes checking whether any waiting task exists in the waiting-list for the event.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×