tuned;
authorwenzelm
Tue, 21 Feb 2012 13:37:03 +0100
changeset 46570 9c504481d270
parent 46563 0ad69b30b39c
child 46571 edcccd7a9eee
tuned;
src/Pure/System/session.scala
--- a/src/Pure/System/session.scala	Tue Feb 21 13:10:13 2012 +0100
+++ b/src/Pure/System/session.scala	Tue Feb 21 13:37:03 2012 +0100
@@ -216,7 +216,7 @@
 
     /* delayed command changes */
 
-    object commands_changed_delay
+    object delay_commands_changed
     {
       private var changed_nodes: Set[Document.Node.Name] = Set.empty
       private var changed_commands: Set[Command] = Set.empty
@@ -299,7 +299,7 @@
     //{{{
     {
       val cmds = global_state.change_yield(_.assign(id, assign))
-      for (cmd <- cmds) commands_changed_delay.invoke(cmd)
+      for (cmd <- cmds) delay_commands_changed.invoke(cmd)
     }
     //}}}
 
@@ -359,7 +359,7 @@
         case Position.Id(state_id) if !result.is_raw =>
           try {
             val st = global_state.change_yield(_.accumulate(state_id, result.message))
-            commands_changed_delay.invoke(st.command)
+            delay_commands_changed.invoke(st.command)
           }
           catch {
             case _: Document.State.Fail => bad_result(result)
@@ -430,8 +430,8 @@
     //{{{
     var finished = false
     while (!finished) {
-      receiveWithin(commands_changed_delay.flush_timeout) {
-        case TIMEOUT => commands_changed_delay.flush()
+      receiveWithin(delay_commands_changed.flush_timeout) {
+        case TIMEOUT => delay_commands_changed.flush()
 
         case Start(timeout, args) if prover.isEmpty =>
           if (phase == Session.Inactive || phase == Session.Failed) {