×

Method and apparatus for providing a preemptive task scheduling scheme in a real time operating system

  • US 9,606,833 B2
  • Filed: 03/24/2015
  • Issued: 03/28/2017
  • Est. Priority Date: 04/09/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of providing preemptive task scheduling for a Real Time Operating System (RTOS), the method comprising:

  • assigning a two-level priority to each task that is created, the two-level priority comprising a kernel priority and a user-defined priority;

    creating a priority bitmap corresponding to the kernel priority;

    enabling a priority bit in the priority bitmap, the priority bit indicating a status of a respective task; and

    executing the task based on the priority bit,wherein the kernel priority is a unique incremental number that is assigned to each task being created through a predefined protocol,wherein the user-defined priority is the general task priority as defined by the user and can be any number within an allowed priority range for a task scheduler, andwherein each task can be mapped to a bit in the priority bitmap on a one-to-one basis.

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