Patent ID: 9733984
Date: 2017-08-15
CPC Classifications: G06F

Claim:
1. A method, comprising: providing, using a processor of a computer, multiple staging queues having priorities with corresponding multiple run queues having corresponding priorities; receiving a workload having a priority; receiving a resource status flag that is set to indicate whether application resources are available and whether run resources are available for the workload; in response to determining that application resources are not available using the resource status flag and that the workload has not been previously semi-started, adding the workload to a staging queue of the multiple staging queues having a same priority as the workload; and in response to determining that the application resources are not available using the resource status flag and that the workload has been semi-started; in response to determining that run resources are available using the resource status flag, starting the workload; and in response to determining that the run resources are not available using the resource status flag, adding the workload to a run queue of the multiple run queues from the staging queue, wherein the run queue has the same priority as the staging queue.