摘要 |
Systems and methods for performing a task are provided. One example method includes if the task allocation metric indicates load balancing associated with the processor (14) is below a first threshold, determining whether the task is a reentrant task, if the task is a reentrant task, determining whether a stopping criteria is satisfied, reentering the task into a queue (26) of tasks if the stopping criteria is not satisfied and the task is a reentrant task, if the task allocation metric indicates core (29) affinity associated with the at least one processor (14) is below a second threshold, determining whether the task is a main task, if the task is not a main task, determining whether a stopping criteria is satisfied, and if the stopping criteria is satisfied and the task is not a main task, pulling a parent task associated with the task into the thread (31). |