tuned;
authorwenzelm
Sat, 26 Nov 2011 13:10:12 +0100
changeset 45642 65e4eeea09cd
parent 45641 20ef9135a9fb
child 45643 9e49cfe7015d
tuned;
src/Pure/Concurrent/task_queue.ML
--- a/src/Pure/Concurrent/task_queue.ML	Fri Nov 25 23:04:12 2011 +0100
+++ b/src/Pure/Concurrent/task_queue.ML	Sat Nov 26 13:10:12 2011 +0100
@@ -340,7 +340,7 @@
           | SOME (_, entry) =>
               (case ready_job task entry of
                 NONE => ready tasks (task :: rest)
-              | some => (some, List.revAppend (rest, tasks))));
+              | some => (some, fold cons rest tasks)));
 
     fun ready_dep _ [] = NONE
       | ready_dep seen (task :: tasks) =