Patent ID: 6907606

Claim:
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.