aboutsummaryrefslogtreecommitdiff
path: root/proofs/proofview.mli
diff options
context:
space:
mode:
authorEnrico Tassi2014-06-26 15:37:46 +0200
committerEnrico Tassi2014-07-10 15:22:58 +0200
commitedee36d00147dfaa99acf52a7b4d7ebf329b013f (patch)
tree0c2920b863f4016e0280ce479000306f696fee3f /proofs/proofview.mli
parentc88f47195955beb615d15dd9d57e4de20e5e3a52 (diff)
check_for_interrupt: better (but slower) in threading mode
Experimenting with PIDE I discovered that yield is not sufficient to have a rescheduling, hence the delay.
Diffstat (limited to 'proofs/proofview.mli')
-rw-r--r--proofs/proofview.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/proofs/proofview.mli b/proofs/proofview.mli
index affe276800..0c75eb5aff 100644
--- a/proofs/proofview.mli
+++ b/proofs/proofview.mli
@@ -139,6 +139,9 @@ val apply : Environ.env -> 'a tactic -> proofview -> 'a
(* Unit of the tactic monad *)
val tclUNIT : 'a -> 'a tactic
+
+(* Unit but checks for interrupts *)
+val tclCHECKINTERRUPT : 'a -> 'a tactic
(* Bind operation of the tactic monad *)
val tclBIND : 'a tactic -> ('a -> 'b tactic) -> 'b tactic