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/core-cml/mailbox-sig.sml
ViewVC logotype

View of /sml/trunk/src/cml/src/core-cml/mailbox-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (19 years, 3 months ago) by monnier
File size: 474 byte(s)
bring revisions from the vendor branch to the trunk
(* mailbox-sig.sml
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories
 * COPYRIGHT (c) 1989-1991 John H. Reppy
 *
 * Asynchronous channels (called mailboxes).
 *)

signature MAILBOX =
  sig

    type 'a mbox

    val mailbox : unit -> 'a mbox

    val sameMailbox : ('a mbox * 'a mbox) -> bool

    val send     : ('a mbox * 'a) -> unit
    val recv     : 'a mbox -> 'a
    val recvEvt  : 'a mbox -> 'a Event.event
    val recvPoll : 'a mbox -> 'a option

  end (* MAILBOX *)


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