Patent ID: 7721291
Filing Date: 2010-05-18
Classification: G06F

Abstract:
1. An apparatus for automatically minimizing real-time (RT) task latency and maximizing non-real time (NRT) task throughput in a multi-processor environment, the apparatus comprising: a task manager configured to execute a NRT task in a multi-processor environment, the NRT task configured to obtain exclusive access to a resource by obtaining a lock associated with the resource; a determination module configured to identify a RT task within the multi-processor environment, the RT task sharing exclusive access to the resource with the NRT task by obtaining the lock when not obtained by the NRT task; and a tracking module in communication with the NRT, the tracking module configured to increment a global indicator in response to an identified runnable RT task, wherein the NRT task executes the preemption point in response to the global indicator being nonzero, and wherein the global indicator is accessible to NRT tasks in the multi-processor environment; wherein the NRT task is configured to selectively execute a preemption point in response to the RT task becoming runnable, the preemption point being based on a predetermined point of the NRT task when a stoppage of the execution of the NRT task can occur prior to completion of the NRT task, wherein execution of the preemption point causes the lock to be released by the NRT task and made available to the RT task, wherein the NRT task is further configured to bypass the preemption point and maintain the lock in response to the RT task becoming blocked, and wherein the task manager, determination module, and tracking module each comprises at least one of logic hardware and executable code, the executable code being stored on one or more memory devices.