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/trunk/src/cm/compile/servers.sig
ViewVC logotype

View of /sml/trunk/src/cm/compile/servers.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 454 - (download) (as text) (annotate)
Wed Oct 27 04:41:14 1999 UTC (20 years, 1 month ago) by blume
File size: 936 byte(s)
in-degree calculation and prioritizing added
(*
 * 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

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

    val stop : string -> unit

    val kill : string -> unit

    (* reset scheduler and wait until all servers are idle *)
    val reset : unit -> unit

    (* signal all servers that we are starting with a new .cm file *)
    val cm : SrcPath.t -> unit

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

    (* schedule a compilation *)
    val compile : SrcPath.t -> bool

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

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