Peter Firmstone wrote: ...
This is where you have to be careful of Distributed computing, I think you'd have to branch out in both directions, checking older and younger tasks as the tasks arrival may be a combination of processing remote and local calls. In fact a task might arrive so far out of sequence that it could be at the opposite end of the queue.
...
So what happens if Task x arrives so late that we have already done the runAfter tests for Task y, but y should run after x?
Patricia
