Debian Codegraph @

stm/spawned.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (* To link this file, threads are needed *)
12
13 type chandescr = AnonPipe | Socket of string * int * int
14
15 (* Argument parsing should set these *)
16 val main_channel : chandescr option ref
17 val control_channel : chandescr option ref
18
19 (* Immediately after argument parsing one *must* call this *)
20 val init_channels : unit -> unit
21
22 (* Once initialized, these are the channels to talk with our master *)
23 val get_channels : unit -> CThread.thread_ic * out_channel
24
25 (** {6 Name of current process.} *)
26 val process_id : unit -> string