diff options
| author | Emilio Jesus Gallego Arias | 2017-01-25 01:48:41 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-03-21 15:51:49 +0100 |
| commit | 6e3fc0992be7ddd841328028dec51d390fffb851 (patch) | |
| tree | 479f0c917c5678f12a948f8ba3dba731e30d08db /stm/workerLoop.ml | |
| parent | 921ea3983d45051ae85b0e20bf13de2eff38e53e (diff) | |
[stm] Add common toploop for workers.
This is a small, but convenient refactoring, as it will allow common
argument parsing.
Diffstat (limited to 'stm/workerLoop.ml')
| -rw-r--r-- | stm/workerLoop.ml | 15 |
1 files changed, 15 insertions, 0 deletions
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 *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +let rec parse args = args + +let loop init args = + Flags.make_silent true; + init (); + CoqworkmgrApi.init !Flags.async_proofs_worker_priority; + args |
