System and method for scheduling tasks for execution
First Claim
1. A method for scheduling tasks for execution, comprising:
- ordering tasks in a queue;
providing a timer thread for monitoring status of tasks in said queue and for selectively dispatching tasks;
providing a guard thread for monitoring status of tasks in said queue and for selectively creating timer threads;
operating said guard thread responsive to a next task in said queue becoming ready for execution while a first timer thread is still processing a prior task to create a new timer thread for dispatching said next task and marking said first timer thread for closure;
responsive to said prior task completing, closing said first timer thread.
2 Assignments
0 Petitions
Accused Products
Abstract
A system for scheduling tasks for execution includes a queue of tasks ordered by scheduled time for execution. A timer thread monitors status of tasks in the queue and selectively dispatches tasks. A guard thread monitors status of tasks in the queue and selectively creates timer threads. The guard thread is responsive to a next task in the queue becoming ready for execution while a first timer thread is still processing a prior task to create a new timer thread to dispatch the next task and mark the first timer thread for closure. Thereafter, the first timer thread closes responsive to the prior task completing.
-
Citations
19 Claims
-
1. A method for scheduling tasks for execution, comprising:
-
ordering tasks in a queue;
providing a timer thread for monitoring status of tasks in said queue and for selectively dispatching tasks;
providing a guard thread for monitoring status of tasks in said queue and for selectively creating timer threads;
operating said guard thread responsive to a next task in said queue becoming ready for execution while a first timer thread is still processing a prior task to create a new timer thread for dispatching said next task and marking said first timer thread for closure;
responsive to said prior task completing, closing said first timer thread. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for scheduling tasks for execution, comprising:
-
a queue of tasks ordered by scheduled time for execution;
a timer thread for monitoring status of tasks in said queue and for selectively dispatching tasks;
a guard thread for monitoring status of tasks in said queue and for selectively creating timer threads;
said guard thread responsive to a next task in said queue becoming ready for execution while a first timer thread is still processing a prior task for creating a new timer thread to dispatch said next task and for marking said first timer thread for closure; and
said first timer thread closing responsive to said prior task completing. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product for scheduling tasks for execution, said computer program product comprising:
-
a computer readable medium;
first program instructions to order tasks in a queue;
second program instructions to provide a timer thread for monitoring status of tasks in said queue and to selectively dispatch tasks;
third program instructions to provide a guard thread for monitoring status of tasks in said queue and to selectively open timer threads;
fourth program instructions to operate said guard thread responsive to a next task in said queue becoming ready for execution while a first timer thread is still processing a prior task to create a new timer thread for dispatching said next task and to mark said first timer thread for closure;
fifth program instructions responsive to said prior task completing, to close said first timer thread; and
whereinsaid first, second, third, fourth, and fifth program instructions are recorded on said computer readable medium. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification