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 92a2565507 issue #241: child main thread does not gracefully handle CTRL+C
In Ansible, depending on when CTRL+C is triggered, if it occurs after
the connection multiplexer process has forked, and after it has in turn
forked the "connection: local" context and its corresponding "clean fork
parent", since all the broker processes still belong to Ansible's
terminal foreground process group, they are all capable of receiving
SIGINT in response to CTRL+C being pressed on that terminal.

This papers over the problem. Really we want those KeyboardInterrupts to
be logged, to call setsid() frmo the connection multiplexer process to
isolate it from the terminal foreground process group. That way its only
indication of top-level process shutdown is using the graceful
disconnect mechanism that already exists in process.py::worker_main().
8 years ago
.travis issue #210: run DebOps under v2.5.1 too. 8 years ago
ansible_mitogen ansible: missing mitogen_su module. 8 years ago
docs ansible: support su become method. 8 years ago
examples examples: import mitogen-fuse.py. 8 years ago
mitogen issue #241: child main thread does not gracefully handle CTRL+C 8 years ago
tests tests: su integration test. 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 #210: run DebOps under v2.5.1 too. 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 coverage as a dev requirement 8 years ago
preamble_size.py Add mitogen.service to preamble_size.py 8 years ago
run_tests issue #164: rename 'test' to 'run_tests' to avoid tab complete conflict 8 years ago
setup.cfg tests: Switch to unit2 test runner, with coverage 8 years ago
setup.py Move canonical library version to __init__.py. 8 years ago
tox.ini tests: Switch to unit2 test runner, with coverage 8 years ago

README.md