You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
With epoll() there is only one kernel-side object per file descriptor, which is why _control() is such a pain. Since we merge receive/transmit watching into that single object, we must always test the mask for both conditions when reading results. Kqueue isn't/doesn't appear to be like this. The identity of a Kqueue event is keyed on (fd, filter), and we register a separate event for both transmit and receive, so the 'elif' in KqueuePoller.poll() does not appear to need to change. Previously, a FD marked for read+write would not indicate writeability until it was no longer readable. |
8 years ago | |
|---|---|---|
| .. | ||
| compat | 8 years ago | |
| __init__.py | 8 years ago | |
| core.py | 8 years ago | |
| debug.py | 8 years ago | |
| docker.py | 8 years ago | |
| fakessh.py | 8 years ago | |
| fork.py | 8 years ago | |
| jail.py | 8 years ago | |
| lxc.py | 8 years ago | |
| master.py | 8 years ago | |
| parent.py | 8 years ago | |
| service.py | 8 years ago | |
| setns.py | 8 years ago | |
| ssh.py | 8 years ago | |
| su.py | 8 years ago | |
| sudo.py | 8 years ago | |
| unix.py | 8 years ago | |
| utils.py | 8 years ago | |