Document dirty, getfd, and setfd for select and tcp.

This commit is contained in:
Sam Roberts 2011-10-24 11:24:58 -07:00
parent 3a0fd4744d
commit 12bde801f6
3 changed files with 67 additions and 0 deletions

View file

@ -217,6 +217,10 @@ method or <tt>accept</tt> might block forever.
it to <tt>select</tt>, it will be ignored.
</p>
<p class=note>
<b>Using select with non-socket objects</b>: Any object that implements <tt>getfd</tt> and <tt>dirty</tt> can be used with <tt>select</tt>, allowing objects from other libraries to be used within a <tt>socket.select</tt> driven loop.
</p>
<!-- sink ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<p class=name id=sink>