aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm/stm.mli
diff options
context:
space:
mode:
authorGravatar Alec Faithfull <alef@itu.dk>2015-10-06 13:58:50 +0200
committerGravatar Alec Faithfull <alef@itu.dk>2015-10-09 10:53:29 +0200
commitce0c536b4430711db1e30cd7ac35ae8d71d34e64 (patch)
tree6d5f83e177e401417ebc7f68da360fb8019ac8f5 /stm/stm.mli
parentb2007e86b4a28570eee52439ad8b9fee603443b8 (diff)
STM: Added functions for saving and restoring the internal state
PIDEtop needs these to implement its new transaction mechanism
Diffstat (limited to 'stm/stm.mli')
-rw-r--r--stm/stm.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm/stm.mli b/stm/stm.mli
index 2453f258c..18ed6fc2e 100644
--- a/stm/stm.mli
+++ b/stm/stm.mli
@@ -83,6 +83,10 @@ val set_compilation_hints : string -> unit
(* Reorders the task queue putting forward what is in the perspective *)
val set_perspective : Stateid.t list -> unit
+type document
+val backup : unit -> document
+val restore : document -> unit
+
(** workers **************************************************************** **)
module ProofTask : AsyncTaskQueue.Task