Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/cm/concur/servers.sig
ViewVC logotype

Annotation of /sml/trunk/src/cm/concur/servers.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 479 - (view) (download) (as text)

1 : blume 464 (*
2 :     * Handling compile-servers.
3 :     *
4 :     * This is still rather crude and not very robust. A "real" implementation
5 :     * exists only for Unix.
6 :     *
7 :     * (C) 1999 Lucent Technologies, Bell Laboratories
8 :     *
9 :     * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
10 :     *)
11 :     signature SERVERS = sig
12 :    
13 : blume 479 type server
14 :    
15 : blume 464 (* add a compile server *)
16 :     val start : { name: string, cmd: string * string list,
17 :     pathtrans: (string -> string) option,
18 : blume 479 pref: int } -> server option
19 : blume 464
20 : blume 479 val stop : server -> unit
21 : blume 464
22 : blume 479 val kill : server -> unit
23 : blume 464
24 : blume 479 val name : server -> string
25 :    
26 : blume 464 (* Reset scheduler and wait until all servers are idle.
27 :     * The "bool" argument makes reset suitable as an argument to
28 :     * SafeIO.perform. *)
29 :     val reset : bool -> unit
30 :    
31 :     (* signal all servers that future cmb calls use a different dirbase *)
32 :     val dirbase : string -> unit
33 :    
34 :     (* signal all servers that we have a new working dir *)
35 :     val cd : string -> unit
36 :    
37 :     (* signal all servers that we are starting with a new .cm file *)
38 :     val cm : { archos: string, project: string } -> unit
39 :    
40 :     (* signal all servers that we are starting with a new CMB.make *)
41 :     val cmb : { archos: string, root: string } -> unit
42 :    
43 :     (* schedule a compilation *)
44 :     val compile : string -> bool
45 :    
46 :     val withServers : (unit -> 'a) -> 'a
47 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0