David Wilson
20780820a6
docs: typo
8 years ago
David Wilson
75b9e1d71e
issue #155 : docs: document behaviour of forked children
8 years ago
David Wilson
110fdf24cd
docs: add mitogen.fork.Stream to internals.rst
8 years ago
David Wilson
1a8ac9f4d1
issue #155 : introduce mitogen.fork / Router.fork()
8 years ago
David Wilson
27175e3126
docs: tidy up signals.rst a little.
8 years ago
David Wilson
732a610246
docs: add beginnings of section on func decorators
8 years ago
David Wilson
2abe87472c
issue #162 : docs: begin documenting mitogen.service
8 years ago
David Wilson
54ff1c90fa
issue #155 : add DEL_ROUTE, propagate ADD_ROUTE upwards
...
* IDs are allocated by the parent responsible for contructing a new
child, using ALLOCATE_ID to the master as necessary to allocate new ID
ranges.
* ADD_ROUTE is sent up the tree rather than down. This permits
construction of the new context to complete concurrent to parent
contexts learning about its existence. Since all streams are strictly
ordered, it's not possible for any parent to observe messages from the
new context prior to arrival of an ADD_ROUTE from the parent notifying
of its existence.
If the new context, for example, implements an Ansible async task, its
parent can start executing that without waiting for any synchronous
confirmation from any parent or the master.
* Since routes propagate up, it's no longer possible for a plain
non-parent child to ever receive ADD_ROUTE, so that code can be moved
out of core.py and into parent.py (-0.2kb compressed).
* Add a .routes attribute to parent.Stream, and respond to disconnection
signal on the stream by propagating DEL_ROUTE for any ADD_ROUTE ever
received from that stream.
* Centralize route management in a new parent.RouteMonitor class
8 years ago
David Wilson
aeeeb45ccb
docs: farewell, glorious iframe!
8 years ago
David Wilson
1ed86774b5
issue #156 : document select exception
8 years ago
David Wilson
20f5d89dfa
issue #156 : fix several more races
...
* Don't need to sleep if queue>sleepers, can just pop the right queue
element and return it.
* If queue>sleeping and waking==sleeping, no mechanism existed to ensure
a thread newly added to sleeping would ever be woken. Above change
fixes that.
* Cannot trust select() return value, scheduler might sleep us
indefinitely while put() writes a byte.
* Sleeping threads didn't pop FIFO, they popped in whatever order
scheduler woke them up. Must recover index and use it to pick the pop
index.
8 years ago
David Wilson
526b0a514b
issue #156 : prevent Latch.close() triggering spurious wakeups
8 years ago
David Wilson
18e2977baf
docs: annoying phrasing
8 years ago
David Wilson
2c22c41819
issue #156 : don't decrement `waking` if we timed out rather than being woken.
8 years ago
David Wilson
07a8994ff5
issue #156 : waking thread result dictionary with an integer.
8 years ago
David Wilson
b5398bd17f
issue #156 : docs typo
8 years ago
David Wilson
512ff77a46
issue #156 : prevent non-sleeping threads from starving sleeping threads.
...
See new docs
8 years ago
David Wilson
148ce1d703
issue #155 : increase context ID width to 32 bits
...
Needed to make large range allocations (1000 per ALLOCATE_ID roundtrip)
feasible.
8 years ago
David Wilson
071d9fbfb3
docs: tidy ansible docs.
8 years ago
David Wilson
f241eac5ce
parent: allow Python to determine its install prefix from argv[0]
...
Fixes support for virtualenv. Closes #152 .
8 years ago
David Wilson
dec3af375a
issue #144 : ansible: increase default pool size to 16.
8 years ago
David Wilson
4f361be7e7
issue #144 : teach Select() to close its latch
...
Causes all threads sleeping on the select to wake.
8 years ago
David Wilson
8aada2646c
core: support throwing LatchError in every sleeping thread
...
This is to allow Select() to be used as a generic queueing primitive
that supports graceful shutdown.
8 years ago
David Wilson
7a74bb0a39
docs: update ansible risks/differences.
8 years ago
David Wilson
bcc15987fc
docs: extra ansible paragraph.
8 years ago
David Wilson
7a394dc73e
ansible: allow establishment of duplicate SSH connections
8 years ago
David Wilson
4691ce0b95
issue #150 : ansible: add basic Docker support.
8 years ago
David Wilson
67ff762ba5
issue #139 : docs: remove note about bad buffering
8 years ago
David Wilson
d1888f1908
docs: reorder sections
8 years ago
David Wilson
014247ce66
docs: another crazy Ansible success story
8 years ago
Alex Willmer
7063d172e9
tests: Add Tox config for Python 2.6 and 2.7
...
I could not get Python 2.5 or earlier to work. Too many packages
(critically docker) don't support it.
8 years ago
David Wilson
88c198ea05
issue #141 : copy Ansible's connect_timeout for sudo too.
8 years ago
David Wilson
63c3fc623c
docs: note the semantic difference in Mitogen vs. Ansible timeouts
...
Related to issue #141 .
8 years ago
David Wilson
8f85943083
issue #139 : mention relating buffering issue
8 years ago
David Wilson
1f1d691a28
docs: update to match @moreati's code golf birdies :)
8 years ago
Alex Willmer
9aa83ef77f
docs: First round of Pickle-likes survey
8 years ago
Alex Willmer
a1fc21bb06
docs: Maximum size of pencode values
8 years ago
Alex Willmer
e24db89f3a
docs: Disco comparison
8 years ago
Alex Willmer
04f4851138
docs: multiprocessing comparison
...
Not strictly a rival, but has enough commonalities to be worth noting
8 years ago
Alex Willmer
8c227b2bdd
docs: More detail about Baker
8 years ago
Alex Willmer
e06e438228
docs: More detail about execnet
8 years ago
Alex Willmer
da58f8595d
docs: More detail about chopsticks
8 years ago
Alex Willmer
d7fbb9aef6
docs: Link compared projects to their website
...
All outgoing links checked with
```bash
cd docs
make linkcheck
```
8 years ago
Alex Willmer
4615ab1a8e
docs: Enable sphinx-autobuild
...
```bash
cd docs
make
```
to run a webserver that automatically rerenders whenever the rST is
modified.
8 years ago
David Wilson
f8c85b549f
docs: typo
8 years ago
David Wilson
dc9dda08e1
Add link to IRC; closes #116
8 years ago
David Wilson
b2a433dcc4
ssh: CompressionLevel is a v1-only option.
...
It's ignored by newer SSHes, which only pay attention to Compression.
8 years ago
Alex Willmer
1c20c61605
docs: Convert all URLs that support https://
...
Excluded: graphml XML namespaces, links to e.g. Fabric homepage
Fixes #128
8 years ago
David Wilson
089f39716e
docs: beginnings of testimonials section
8 years ago
David Wilson
500c4f419c
docs: update limitations list for Ansible.
8 years ago