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.
If thread A is about to wake as thread B is about to sleep, and A loses the GIL at an inopportune moment, it was possible for two latches to share the same socketpair, causing wakeups routed to the wrong latch. The pair was returned to the 'idle sockets' list before .recv() had been called. This manifested as TimeoutError() thrown rarely with many active threads and the host is heavily loaded (such as Travis CI). Add more documentation and stop writing single wake bytes. Instead the recipient's identity is written instead, making it simpler to detect future bugs. |
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 | |
| ChangeLog | 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 | |