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/doc/HTML/os-io.html
ViewVC logotype

View of /sml/trunk/src/cml/doc/HTML/os-io.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (download) (as text) (annotate)
Thu May 28 21:30:17 1998 UTC (21 years, 2 months ago) by monnier
File size: 2272 byte(s)
This commit was generated by cvs2svn to compensate for changes in r106,
which included commits to RCS files with non-trunk default branches.
<!-- HTML/os-io.html -->

<!-- COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies. -->
<!-- COPYRIGHT (c) 1996 AT\|@AMP\|T Research. -->

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>The OS.IO structure</TITLE>
</HEAD>
<BODY><A NAME="top"></A>
<H1 align=CENTER>The Concurrent ML Reference Manual</H1>
<HR>


<H2><A NAME="section:0">The <CODE>OS.IO</CODE> structure</A></H2>
<HR>
<H4>Synopsis</H4>
<BLOCKQUOTE>
<CODE><B>signature </B><A NAME="CML_OS_IO:SIG:SPEC"><CODE>CML_OS_IO</CODE></A><BR>
<B>structure </B><A NAME="IO:STR:SPEC"><CODE>IO</CODE></A><B> : </B>CML_OS_IO<BR>
</CODE>
</BLOCKQUOTE>
<P>
  The OS.IO structure provides a general interface for polling I/O devices, which has been modelled after the Unix SVR4 poll interface.  A <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os-io.html#SIG:OS_IO.poll_desc:TY:SPEC">poll_desc</A>, created from an I/O descriptor, can be used to test for various polling conditions. 
<HR>
<H4>Interface</H4>
<BLOCKQUOTE>
<CODE><B>include</B> <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os-io.html#OS_IO:SIG:SPEC">OS_IO</A><BR>
<B>val</B> <A NAME="SIG:CML_OS_IO.pollEvt:VAL:SPEC" HREF="#SIG:CML_OS_IO.pollEvt:VAL">pollEvt</A> <B>:</B> poll_desc list -&gt; poll_info list event 	<BR>
</CODE>
</BLOCKQUOTE>
<H4>Description</H4>
<DL>
<DT> <A NAME="SIG:CML_OS_IO.pollEvt:VAL"><CODE>pollEvt <VAR>l</VAR>
        </CODE></A>
<DD>
polls a list of poll descriptors <VAR>l</VAR>. 	This will raise <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os.html#SIG:OS.SysErr:EXN:SPEC">OS.SysErr</A> if, for example, 	one of the file descriptors refers to a closed file.
<BR>
<BR>

</DL>
<HR>
<H4>See Also</H4>
<BLOCKQUOTE>
<A HREF="os.html#OS:STR:SPEC">OS</A>, <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os.html#SIG:OS.IO:STR:SPEC">OS.IO</A>
</BLOCKQUOTE>


<HR>
<CENTER>
<B>[ <A HREF="#top">Top</A>
   | <A HREF="core-cml.html">Parent</A>
   | <A HREF="toc.html">Contents</A>
   | <A HREF="index-all.html">Index</A>
   | <A HREF="refman.html">Root</A>
   ]</B>
</CENTER>
<P>
<I>Last Modified &date;</I><BR>
<I>Comments to <A HREF="mailto:jhr@research.bell-labs.com">John Reppy.</A></I><BR>

Copyright &copy; 1998 Bell Labs, Lucent Technologies <BR>

<HR>
</BODY></HTML>

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