summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/select.rst
blob: aceb190720e81a169d119e20c30240b388694b32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
: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)