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

View of /cml/trunk/src/OS/os-process-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3107 - (download) (annotate)
Wed Jul 16 14:44:29 2008 UTC (10 years, 8 months ago) by jhr
File size: 616 byte(s)
  Fixed OS.Process interface to agree with SML Basis Library.
(* os-process-sig.sml
 *
 * COPYRIGHT (c) 2008 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *
 * The CML version of the generic process control interface.
 *)

signature CML_OS_PROCESS =
  sig

    type status

    val success   : status
    val failure   : status
    val isSuccess : status -> bool

    val system    : string -> status
    val systemEvt : string -> status Event.event

    val atExit    : (unit -> unit) -> unit

    val exit      : status -> 'a
    val terminate : status -> 'a

    val getEnv    : string -> string option
    val sleep     : Time.time -> unit

  end

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