SCM Repository
View of /sml/trunk/src/cm/concur/dummy-servers.sml
Parent Directory
|
Revision Log
Revision 651 -
(download)
(annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 8 months ago) by monnier
File size: 918 byte(s)
Thu Jun 1 18:34:03 2000 UTC (20 years, 8 months ago) by monnier
File size: 918 byte(s)
bring revisions from the vendor branch to the trunk
(* * 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 local fun unavailable x = (Say.say ["Compile server facility not available."]; x) fun impossible () = raise Fail "Servers: impossible" in fun start _ = unavailable NONE fun stop () = impossible () fun kill () = impossible () fun name () = impossible () fun reset _ = Concur.reset () fun dirbase _ = () fun cd _ = () fun cm _ = () fun cmb _ = () fun cmb_new _ = () fun compile _ = false fun withServers f = SafeIO.perform { openIt = fn () => (), closeIt = fn () => (), work = f, cleanup = reset } fun allIdle () = true end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |