Add dummy final job. * This job is dependent from any other task being scheduled and will therefore always be scheduled last. This is useful to avoid dead-lock situations because it forces all threads to remain active until all the tasks have terminated. * Unit tests updated accordingly.
V00-20-23 back on top.
V00-16-05-19 back on top.
Check for self depending tasks added.
Use backward compatible currentThread in place of current_thread.
Better errors when an exception is raised.
Add test case which mimics cmsBuild behavior.
Support for serial tasks. * Serial tasks get executed once at the time (doh). * Serial tasks can depend on each other (no checks for dependency loops). * Serial and parallel tasks can be executed in parallel (doh) and can depend on each other. * Scheduler.put() method renamed to Scheduler.parallel().
Better error management. * Handle tasks which raise exceptions. * Keep track of failure reasons of tasks.
New scheduler to be used for fetch / build / install tasks. * Lockless. * One queue for parallel tasks, one queue serial tasks. * Handles dependencies. * In case of errors, completes all the completable tasks rather than quitting immediately. Still needs some cleanups, but it's good enough to attempt integrating it in cmsBuild. Unit tests by simply executing the file.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.