An apparatus, system, and method are provided for automatically minimizing
Real-Time (RT) task latency and maximizing Non-Real Time (NRT) task
throughput. The apparatus may include a task manager, a determination
module, and optionally a tracking module. The task manager may execute a
NRT task configured to obtain exclusive access to a resource within a
multi-processor environment. The determination module identifies a RT
task within the multi-processor environment that shares exclusive access
to the resource with the NRT task. Optionally, the tracking module
selectively executes or bypasses a preemption point associated with the
NRT task in response to the RT task becoming runnable. Alternatively, the
NRT task selectively executes or bypasses a predefined preemption point
in response to the RT task becoming runnable. In this manner, RT tasks on
any processor of the multi-processor environment meet minimum latency
thresholds and NRT tasks automatically provide maximum throughput in the
multi-processor environment.