Commit 1ed86774 authored by David Wilson's avatar David Wilson

issue #156: document select exception

parent 7ec02f9b
...@@ -934,6 +934,10 @@ receive items in the order they are requested, as they become available. ...@@ -934,6 +934,10 @@ receive items in the order they are requested, as they become available.
for timeout, or a write from :py:meth:`Latch.put` or for timeout, or a write from :py:meth:`Latch.put` or
:py:meth:`Latch.close`. :py:meth:`Latch.close`.
If :py:func:`select.select` throws an exception, the exception must be
caught and re-raised only after some of the wake steps below have
completed.
**5. Wake, Non-empty** **5. Wake, Non-empty**
On wake `lock` is re-acquired, the socket is removed from `sleeping` after On wake `lock` is re-acquired, the socket is removed from `sleeping` after
noting its index, and :py:class:`TimeoutError` is thrown if `waking` noting its index, and :py:class:`TimeoutError` is thrown if `waking`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment