mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
88d3054ac0
The inline docs (prefixed with /// in .c files) have been converted to RST format and put in the docs subdirectory.
38 lines
611 B
ReStructuredText
38 lines
611 B
ReStructuredText
:mod:`select` --- Provides select function to wait for events on a stream
|
|
=========================================================================
|
|
|
|
.. module:: select
|
|
:synopsis: Provides select function to wait for events on a stream
|
|
|
|
This module provides the select function.
|
|
|
|
|
|
Functions
|
|
---------
|
|
|
|
.. function:: poll()
|
|
|
|
|
|
.. function:: select(rlist, wlist, xlist[, timeout])
|
|
|
|
|
|
class Poll
|
|
----------
|
|
|
|
|
|
Methods
|
|
-------
|
|
|
|
.. method:: poll.modify(obj, eventmask)
|
|
|
|
|
|
.. method:: poll.poll([timeout])
|
|
|
|
Timeout is in milliseconds.
|
|
|
|
.. method:: poll.register(obj[, eventmask])
|
|
|
|
|
|
.. method:: poll.unregister(obj)
|
|
|