Overview  Index  Help 
Standard ML Basis Library

Poll


structure Poll : POLL =
struct
  exception BadPollFreq
  val defaultHandler
  val handlerValid
  val pollEvent : bool ref
  val pollFreq
  val setHandler : (unit Cont.cont -> unit Cont.contoption -> unit
  val inqHandler : unit -> (unit Cont.cont -> unit Cont.contoption
  val setFreq : int option -> unit
  val inqFreq : unit -> int option
end

       
Value detail

defaultHandler

val defaultHandler


handlerValid

val handlerValid


pollEvent

val pollEvent : bool ref


pollFreq

val pollFreq


setHandler

val setHandler : (unit Cont.cont -> unit Cont.contoption -> unit


inqHandler

val inqHandler : unit -> (unit Cont.cont -> unit Cont.contoption


setFreq

val setFreq : int option -> unit


inqFreq

val inqFreq : unit -> int option

 
Exception detail

BadPollFreq

exception BadPollFreq


Overview  Index  Help 
Standard ML Basis Library

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).