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 05e0b134f9 service: simplify CALL_SERVICE stub and fix race.
If PushService.store_and_forward() loses the race to arrive at a brand
new context first, and the context's main thread is already executing a
CALL_FUNCTION that is blocked on the result of PushService, deadlock
could occur in the old scheme.

Instead (for now) simply spam a thread for each incoming message, and
use the get_or_create_pool() lock to ensure things work out in the end.
This could potentially generate a huge number of threads given the wrong
app, but we'll fix that problem when it appears.
8 years ago
.travis tests: paralellize vanilla Ansible run. 8 years ago
ansible_mitogen issue #186: rework async/forked tasks again. 8 years ago
docs core/parent: add Context.call_no_reply(). 8 years ago
examples service: v2. Closes #213 8 years ago
mitogen service: simplify CALL_SERVICE stub and fix race. 8 years ago
tests tests: split runner_new_process out of runner_one_job 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 issue #179: ec0_receive() and connect_bootstrap() should use deadline. 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 tests: add debops to requirements 8 years ago
preamble_size.py Add select to preamble_size 8 years ago
run_tests issue #164: rename 'test' to 'run_tests' to avoid tab complete conflict 8 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py setup: Add missing os import 8 years ago
tox.ini tests: Switch to unit2 test runner, with coverage 8 years ago

README.md