Document dirty, getfd, and setfd for select and tcp.
This commit is contained in:
parent
3a0fd4744d
commit
12bde801f6
3 changed files with 67 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue