Patent ID: 9606833
Date: 2017-03-28
CPC Classifications: G06F

Claim:
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, and wherein each task can be mapped to a bit in the priority bitmap on a one-to-one basis.