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 2 - (download) (annotate)
Sat Oct 4 23:33:09 1997 UTC (24 years ago) by monnier
File size: 738 byte(s)
Initial revision
(* 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 =

    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 *)


ViewVC Help
Powered by ViewVC 1.0.0