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.
Since BasicStream.close() invokes _stop_transmit() followed by os.close(), and KqueuePoller._stop_transmit() defers the unsubscription until the IO loop resumes, kqueue generates an error event for the associated FD, even though the changelist includes an unsubscription command for the FD. We could fix this by deferring close() until after the IO loop has run once (simply by calling .defer()), but that generates extra wakeups for no real reason. Instead simply notice the error event and log it, rather than treating it as a legitimate event. Another approach to fixing this would be to process _stop_receive()/_stop_transmit() eagerly, however that entails making more syscalls. Closes #320. |
8 years ago | |
|---|---|---|
| .travis | 8 years ago | |
| ansible_mitogen | 8 years ago | |
| docs | 8 years ago | |
| examples | 8 years ago | |
| mitogen | 8 years ago | |
| tests | 8 years ago | |
| .gitignore | 8 years ago | |
| .lgtm.yml | 8 years ago | |
| .travis.yml | 8 years ago | |
| LICENSE | 8 years ago | |
| README.md | 8 years ago | |
| dev_requirements.txt | 8 years ago | |
| preamble_size.py | 8 years ago | |
| run_tests | 8 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 8 years ago | |
| tox.ini | 8 years ago | |