Patent ID: 11948001
Assignee: SONICWALL INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory computer-readable storage medium having embodied thereon a program executable by a processor for implementing a method for controlling processing tasks, the method comprising:
setting a first sleep timer to an initial value when a no-sleep variable is determined to be set to a value of zero, the initial value of the first sleep timer identifying a first time that a first virtual process will be paused, wherein the processor executes instructions associated with at least one other process when the first virtual process is paused, wherein the initial value is set based on a number of processing tasks including the at least one other process to be performed;
executing by the processor instructions associated with the first virtual process after identifying that the first sleep timer corresponds to a zero value;
identifying that the number of processing tasks associated with the first virtual process at least meets a threshold number;
identifying an allocated time for processing one or more processing tasks of the number of processing tasks based on a time difference, wherein the allocated time is greater when the time difference is less than or equal to a first time setting and the allocated time is less when the time difference is greater than the first time setting; and
processing the one or more processing tasks for a time span not exceeding the allocated time wherein the allocated time includes a number of iterations that the number of processing tasks is processed.