From 6e3fc0992be7ddd841328028dec51d390fffb851 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Wed, 25 Jan 2017 01:48:41 +0100 Subject: [stm] Add common toploop for workers. This is a small, but convenient refactoring, as it will allow common argument parsing. --- stm/workerLoop.ml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 stm/workerLoop.ml (limited to 'stm/workerLoop.ml') diff --git a/stm/workerLoop.ml b/stm/workerLoop.ml new file mode 100644 index 0000000000..56fcf8537f --- /dev/null +++ b/stm/workerLoop.ml @@ -0,0 +1,15 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* parse rest + | x :: rest -> x :: parse rest + | [] -> [] let loop init args = + let args = parse args in Flags.make_silent true; init (); CoqworkmgrApi.init !Flags.async_proofs_worker_priority; -- cgit v1.2.3