Quantitative Analysis
Parallel Processing
Numerical Analysis
C++ Multithreading
Python for Excel
Python Utilities
Services
Author

I. Installation.
II. Threading primitives.
III. NonBlockingQueue.
IV. ThreadPool.
V. ThreadMaster.
VI. OTS Scheduler.
1. Scheduler implementation.
A. Node class.
a. Initial processing of an update event.
b. Processing of out-of-date Nodes.
B. Exception handling policy.
2. Customization of Scheduler. Interfaces IOrigin and IProxy.
3. Acceptance test for the Scheduler.
VII. Bibliography
Downloads. Index. Contents.

Initial processing of an update event.


he Nodes are placed in a Registry. They are retrieved by their Name field and are destroyed when removed from the Registry. When new update event arrives, the procedure searches for the destination Node and places it into theWaitingQueue. This is done so because accepting an event should be a fast operation and the full processing may require dependency tree walk. Repeated placement into WaitingQueue does not change anything. As long as the current copy of the dependency tree (one of the two) accepts the new events, the out-of-date Nodes await in the WaitingQueue. When the current tree stop accepting new events and start processing then the Nodes are extracted from theWaitingQueue and processed. Such procedure is described next.





Downloads. Index. Contents.


















Copyright 2007