Module EventLoop
source code
|
|
EventLoop
An event loop, intended to be compatible with the GLib event loop.
|
|
|
_epoll_adapter
Wraps a select.epoll instance in order to make it compatible with
select.poll instances.
|
|
bool
|
|
|
|
create_poll_instance()
Create an instance of select.poll, or an instance of
PollSelectAdapter there is no poll() implementation or it is broken
somehow. |
source code
|
|
|
|
_can_poll_device = None
hash(x)
|
|
|
__package__ = 'portage.util._eventloop'
|
Imports:
errno,
logging,
os,
select,
signal,
time,
fcntl,
threading,
writemsg_level,
SlotObject,
PollConstants,
PollSelectAdapter
|
Test if it's possible to use poll() on a device such as a pty. This is
known to fail on Darwin.
- Returns: bool
- True if poll() on a device succeeds, False otherwise.
|