Commit ad787e1c2a55a6fccc835f57a3f8df2ec19b9aa1

Con Kolivas 2011-07-03T19:39:47

Move the flushing of old work into restart threads so it's done before any worker threads grab more work.