aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorEnrico Tassi2014-01-27 17:41:37 +0100
committerEnrico Tassi2014-01-30 17:29:33 +0100
commit7516c468528c83593fe4094db35502bc2cda94f8 (patch)
tree128aad3ea9f62ebd603fcfc41c7a0a478cb1aaea /ide
parent1059ecce2a2662e4d8f335bd4db743df70b100b1 (diff)
STM: tell the user if the master is recomputing states validated by workers
When the worker fails, the master may need to recompute some states the worker has already validates. In this case they are colored accordingly.
Diffstat (limited to 'ide')
-rw-r--r--ide/coqOps.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ide/coqOps.ml b/ide/coqOps.ml
index be9075279b..347459a65f 100644
--- a/ide/coqOps.ml
+++ b/ide/coqOps.ml
@@ -348,6 +348,10 @@ object(self)
remove_flag sentence `PROCESSING;
remove_flag sentence `ERROR;
self#mark_as_needed sentence
+ | ProcessingInMaster, Some (id,sentence) ->
+ log "ProcessingInMaster" id;
+ add_flag sentence `PROCESSING;
+ self#mark_as_needed sentence
| Incomplete, Some (id, sentence) ->
log "Incomplete" id;
add_flag sentence `INCOMPLETE;