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

SCM Repository

[smlnj] View of /sml/branches/SMLNJ/src/cm/concur/servers.sig
ViewVC logotype

View of /sml/branches/SMLNJ/src/cm/concur/servers.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 630 - (download) (as text) (annotate)
Wed Apr 26 18:40:56 2000 UTC (19 years, 5 months ago) by monnier
File size: 1303 byte(s)
*** empty log message ***
(*
 * Handling compile-servers.
 *
 *  This is still rather crude and not very robust.  A "real" implementation
 *  exists only for Unix.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
signature SERVERS = sig

    type server

    (* add a compile server *)
    val start : { name: string, cmd: string * string list,
		  pathtrans: (string -> string) option,
		  pref: int } -> server option

    val stop : server -> unit

    val kill : server -> unit

    val name : server -> string

    (* Reset scheduler and wait until all servers are idle.
     * The "bool" argument makes reset suitable as an argument to
     * SafeIO.perform. *)
    val reset : bool -> unit

    (* signal all servers that future cmb calls use a different dirbase *)
    val dirbase : string -> unit

    (* signal all servers that we have a new working dir *)
    val cd : string -> unit

    (* signal all servers that we are starting with a new .cm file *)
    val cm : { archos: string, project: string } -> unit

    (* signal all servers that we are starting with a new CMB.make *)
    val cmb : { archos: string, root: string } -> unit

    (* schedule a compilation *)
    val compile : string -> bool

    val withServers : (unit -> 'a) -> 'a
end

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