Mirror of mitogen
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.
 
 
 
Go to file
David Wilson 484d4fdb74 core: fix Latch socket sharing race.
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 tests: use Ansible 2.5.5 by default 8 years ago
ansible_mitogen ansible: reduce() does not exist in 3.x. 8 years ago
docs docs: update compatibility notice on main page. 8 years ago
examples examples: update mitogen-fuse.py for 3.x. 8 years ago
mitogen core: fix Latch socket sharing race. 8 years ago
tests ansible: fix test for 3.x. 8 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 8 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml Reenable all Travis Jobs. 8 years ago
ChangeLog docs: add initial ChangeLog. 8 years ago
LICENSE Add license text everywhere. 8 years ago
README.md README: move testing bits into tests directory. 8 years ago
dev_requirements.txt issue #275: bump ansible to 2.5.5 8 years ago
preamble_size.py Initial Python 3.x port work. 8 years ago
run_tests Record ulimit -a in run_test output. 8 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Update trove classifiers. 8 years ago
tox.ini Fix invocation of test runner by tox 8 years ago

README.md