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/bootstrap/cmb-slave-stub.sml
ViewVC logotype

View of /sml/branches/SMLNJ/src/cm/bootstrap/cmb-slave-stub.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 468 - (download) (annotate)
Wed Nov 10 22:42:52 1999 UTC (21 years ago)
File size: 580 byte(s)
This commit was manufactured by cvs2svn to create branch 'SMLNJ'.
(*
 * This is a stub providing "slave" functionality for CMB.
 * (We use dynamic linking technology to avoid loading host-cmb.cm
 *  on the slave side unless it is really needed.)
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure CMBSlave = struct
    local
	val initialized = ref false
    in
	fun slave make s =
	    (if !initialized then ()
	     else if make "host-cmb.cm" then initialized := true
	     else raise Fail "dynamic linkage for CMB slave failed";
	     CMBSlaveHook.slave s)
    end
end

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