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/concur/dummy-servers.sml
ViewVC logotype

View of /sml/trunk/src/cm/concur/dummy-servers.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 479 - (download) (annotate)
Thu Nov 11 07:46:35 1999 UTC (20 years, 8 months ago) by blume
File size: 746 byte(s)
minimal/full CM separated
(*
 * Handling compile-servers under non-Unix systems.
 *
 *  This is just a placeholder that disables parallel make on non-supported
 *  systems.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure Servers :> SERVERS = struct
    type server = unit
    fun start _ =
	(Say.say ["Compile server facility not available."];
	 NONE)
    fun stop () = ()
    fun kill () = ()
    fun name () = "<NoServer>"
    fun reset _ = Concur.reset ()
    fun dirbase _ = ()
    fun cd _ = ()
    fun cm _ = ()
    fun cmb _ = ()
    fun compile _ = false
    fun withServers f =
	SafeIO.perform { openIt = fn () => (),
			 closeIt = fn () => (),
			 work = f,
			 cleanup = reset }
end

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