Patent ID: 8276147
Filing Date: 2012-09-25
Classification: G06F

Abstract:
1. In a computing system, a method of shutting down a computer work scheduler, the work scheduler comprising a number of virtual processors, each representing the ability to execute a single thread, wherein each virtual processor is either active in that it has a context running atop it performing at least one of executing work, searching for work, or idle after not finding work after a predetermined amount of searching for work, or inactive in that it has no context running atop it, the method comprising: determining that all processors in a given set of active virtual processors controlled by the scheduler are idle; as a result of determining that all processors in the given set of active virtual processors controlled by the scheduler are idle, proceeding to a first phase of a shutdown operation, which when successful, includes: as a result of determining that no work is found in the scheduler proceeding to a second phase of the shutdown operation, which when successful includes messaging all contexts in the scheduler and telling them to exit the scheduler.