Patent ID: 8166483
Filing Date: 2012-04-24
Classification: G06F

Abstract:
1. In a computer system, a method for implementing priority management comprising: obtaining a first program code comprising a function declaration for a function and at least one priority management declaration, said at least one priority management declaration indicating that a function call at runtime to said function is to be handled according to a priority level associated with said function; detecting said at least one priority management declaration in said first program code; in response to detecting said at least one priority management declaration, obtaining pre-existing program code configured to manage a priority call to a given function; and providing a second program code comprising said first program code with said pre-existing program code embedded therein; wherein detecting said at least one priority management declaration comprises detecting a scheduler declaration; wherein providing said second program code comprises embedding scheduler program code; wherein said scheduler program code is configured to compare a priority level of said function with a current priority level associated with a currently running operation; and wherein said scheduler program code is further configured to postpone an execution of said function when said priority level is less than said current priority level.