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.
mitogen/mitogen
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
..
compat Import v2.7.11 tokenize.py for use on older Pythons; closes #189. 8 years ago
__init__.py docs: tidy ups 8 years ago
core.py service: simplify CALL_SERVICE stub and fix race. 8 years ago
debug.py issue #196: debug: don't statically import master. 8 years ago
docker.py issue #186: initial version of subtree detachment. 8 years ago
fakessh.py docs: tidy ups 8 years ago
fork.py fork: avoid another logging deadlock at startup. 8 years ago
jail.py issue #186: initial version of subtree detachment. 8 years ago
lxc.py issue #186: initial version of subtree detachment. 8 years ago
master.py master: reduce module verbosity somewhat. 8 years ago
minify.py parent: split out minify.py and add stub where master can install it. 8 years ago
parent.py core/parent: add Context.call_no_reply(). 8 years ago
select.py select: add missing get(block=..) parameter. 8 years ago
service.py service: simplify CALL_SERVICE stub and fix race. 8 years ago
setns.py issue #186: initial version of subtree detachment. 8 years ago
ssh.py fix host_keys= exception message 8 years ago
su.py issue #186: initial version of subtree detachment. 8 years ago
sudo.py issue #186: initial version of subtree detachment. 8 years ago
unix.py issue #132: initial unidirectional routing mode. 8 years ago
utils.py issue #218: core: add Secret and Blob types. 8 years ago