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 d6faff06c1 core: wake Waker outside of lock.
Given:

- Broker asleep in poll()
- thread B calling Latch.put()

Previously,

- B takes lock,
- B wakes socket by dropping GIL and writing to it
- Broker wakes from poll(), acquires GIL only to find Latch._lock is held
- Broker drops GIL, sleeps on futex() for _lock
- B wakes, acquires GIL, releases _lock
- Broker wakes from futex(), acquires lock

Now,

- B takes lock, updates state, releases lock
- B wakes socket by droppping GIL and writing to it
- Broker wakes from poll(), acquires GIL and _lock
- Everyone lives happily ever after.
6 years ago
.ci Allow specifying -vvv to debops_tests. 6 years ago
.github issue #574: fix ISSUE_TEMPLATE link 7 years ago
ansible_mitogen Make setting affinity optional. 6 years ago
docs [stream-refactor] mark setns module as requiring Python >2.4 6 years ago
examples [stream-refactor] make mitogen-fuse work on Linux 6 years ago
mitogen core: wake Waker outside of lock. 6 years ago
scripts import release-notes script. 6 years ago
tests ansible: abstract worker process model. 6 years ago
.gitignore Add tests/ansible/.*.pid to gitignore (for ansible_mitogen/process.py) 6 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml [stream-refactor] mark py24 as allow-fail 6 years ago
LICENSE Update copyright year everywhere. 7 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md Update README link 7 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
preamble_size.py [stream-refactor] repair preamble_size.py again 6 years ago
run_tests Allow independant control of coverage erase and reporting 7 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Update copyright year everywhere. 7 years ago
tox.ini Aggregate code coverage data across tox all runs 7 years ago

README.md