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/cml/src/glue/os-glue-sig.sml
ViewVC logotype

View of /sml/trunk/src/cml/src/glue/os-glue-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 3 months ago) by monnier
File size: 738 byte(s)
bring revisions from the vendor branch to the trunk
(* os-glue-sig.sml
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 * COPYRIGHT (c) 1989-1991 John H. Reppy
 *
 * This is the interface to an OS specific module that glues the various
 * OS-specific scheduling operations together (i.e., timeouts, I/O, signals,
 * etc...).
 *)

signature OS_GLUE =
  sig

    val init : unit -> unit
	(* this function is called at start-up time *)

    val pollOS : unit -> unit
	(* this function is called at pre-emption points *)

    val pause : unit -> bool
	(* this function is called when there is nothing else to do.  It returns
	 * false if there are no threads blocked on OS conditions.
	 *)

    val shutdown : unit -> unit
	(* this function is called when the system is shuting down *)

  end

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