aboutsummaryrefslogtreecommitdiff
path: root/toplevel/workerLoop.mli
diff options
context:
space:
mode:
authorThéo Zimmermann2018-05-22 10:30:51 +0200
committerThéo Zimmermann2018-05-22 10:30:51 +0200
commit61e088161858fa7e6ff494cadd7362b9deccd438 (patch)
treea88bf6867103dbf87d701cc2e2205e67b5f4e7d0 /toplevel/workerLoop.mli
parentd6eb4a26648817f6b034e95c02622cadf0fa65ca (diff)
parentdb1719fbac08b5582fafddd4b76ef92f69cc5bc1 (diff)
Merge PR #6859: [stm] Make toplevels standalone executables.
Diffstat (limited to 'toplevel/workerLoop.mli')
-rw-r--r--toplevel/workerLoop.mli14
1 files changed, 14 insertions, 0 deletions
diff --git a/toplevel/workerLoop.mli b/toplevel/workerLoop.mli
new file mode 100644
index 0000000000..e497dee6d3
--- /dev/null
+++ b/toplevel/workerLoop.mli
@@ -0,0 +1,14 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
+(* <O___,, * (see CREDITS file for the list of authors) *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(* * (see LICENSE file for the text of the license) *)
+(************************************************************************)
+
+(* Register a STM worker *)
+val start :
+ init:(unit -> unit) ->
+ loop:(unit -> unit) -> unit