aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/coqOps.ml
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-01-27 17:41:37 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-01-30 17:29:33 +0100
commit7516c468528c83593fe4094db35502bc2cda94f8 (patch)
tree128aad3ea9f62ebd603fcfc41c7a0a478cb1aaea /ide/coqOps.ml
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/coqOps.ml')
-rw-r--r--ide/coqOps.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ide/coqOps.ml b/ide/coqOps.ml
index be9075279..347459a65 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;