David Wilson
20afa5b90c
Latch v2: combined queue + one self-pipe-per-thread
...
Turns out it is far too easy to burn through available file descriptors,
so try something else: self-pipes are per thread, and only temporarily
associated with a Lack that wishes to sleep.
Reduce pointless locking by giving Latch its own queue, and removing
Queue.Queue() use in some places.
Temporarily undo merging of of Waker and Latch, let's do this one step
at a time.
7 years ago
David Wilson
e63e9d299e
docs: add Message documentation
7 years ago
David Wilson
dd088908df
select: clean up API.
7 years ago
David Wilson
a39cd44bf2
core: add auth_id field.
7 years ago
David Wilson
07d4d799f1
Add mitogen.main() decorator mainly for docs and demo use.
7 years ago
David Wilson
09eb3fd9ba
utils: support log_to_file(usec=True)
7 years ago
David Wilson
592ebd59c2
docs: reorder sections
7 years ago
David Wilson
dee856f6f4
docs: remove obsolete warning
7 years ago
David Wilson
b941bce964
docs: sphinx-autobuild default target.
7 years ago
David Wilson
4d9d21c808
docs: fix typo
7 years ago
David Wilson
4a6d55ced6
docs: vastly simplify importer concurrency docs
7 years ago
David Wilson
984b39180e
importer: Beginnings of howitworks section.
7 years ago
David Wilson
b580ada89f
Tidy up and correct the new example
7 years ago
David Wilson
eb2aef866b
Add shell replacement example.
7 years ago
David Wilson
641498e7f6
docs: Fix function name.
7 years ago
David Wilson
f1f36cec35
Simplify the API, make Broker optional and auto-shutdown on main thread exit.
7 years ago
Alex Willmer
3831ac360f
Replace all calls to file() with open()
...
Although these are synonyms in Python 2.x, when using MyPy to typecheck
code use of file() causes spurious errors.
This commit also serves as one small step to Python 3.x compatibility,
since 3.x removes the file() builtin.
7 years ago
David Wilson
038ab04908
docs: convert paragraph to footnote.
7 years ago
David Wilson
e3d2c8d649
issue #49 : update howitworks.rst for command line change
7 years ago
David Wilson
58102c8179
docs: waiting on multiple calls
7 years ago
David Wilson
b1ad04330b
docs: move Router.route() into Sphinx.
7 years ago
David Wilson
cf0668b2b1
docs: Add warning to preloading section.
7 years ago
David Wilson
fb759f7c16
docs: move Broker docstrings into Sphinx.
7 years ago
David Wilson
ac7cada323
docs: more getting started guide
7 years ago
David Wilson
ffa063cc01
docs: annother barriage of cross-reference fixes.
7 years ago
David Wilson
9372d2c3de
docs: Fix up tons of references, document trust chain
7 years ago
David Wilson
051285437f
importer: module preloading docs
7 years ago
David Wilson
b3bd075d37
docs: getting started
7 years ago
David Wilson
792e789908
More.
7 years ago
David Wilson
c15d227da4
docs: way more appropriate image
7 years ago
David Wilson
b94e7b3678
docs: more getting started
7 years ago
David Wilson
709b38c36e
docs: Getting started tidyups
7 years ago
David Wilson
dcc45bc7de
docs: Get started on Getting Started
7 years ago
David Wilson
0299f86bc9
docs: fix reference to with:
7 years ago
David Wilson
c9daa2ff30
docs: move fakessh docs into Sphinx.
7 years ago
David Wilson
6a10ab605e
docs: move mitogen.utils docs to Sphinx.
7 years ago
David Wilson
270b242ec5
docs: fix decorator types.
7 years ago
David Wilson
ec66152e37
docs: better io_op doc, move Side docs to Sphinx.
7 years ago
David Wilson
0767abf26f
docs: move BasicStream docs into Sphinx.
7 years ago
David Wilson
b7a9aa46cf
core: More robust shutdown
...
Now there is a separate SHUTDOWN message that relies only on being
received by the broker thread, the main thread can be hung horribly and
the process will still eventually receive a SIGTERM.
7 years ago
David Wilson
79dd00db5a
master: hack to avoid executing __main__.
7 years ago
David Wilson
416ab90e02
docs: Fix index generation everywhere.
7 years ago
David Wilson
976c643f21
docs: remove note, unpickling can no longer trigger module loads
7 years ago
David Wilson
decc9a900c
docs: s/random/pseudorandom/
7 years ago
David Wilson
83f8f1863e
docs: fix pickler docs, begin relabelling master/slave->parent/child
7 years ago
David Wilson
4327baabfa
docs: remove final references to call_with_deadline().
7 years ago
David Wilson
dd69b8feeb
docs: with_context element is replaced by a decorator.
7 years ago
David Wilson
12fe884f1a
Reference Select
7 years ago
David Wilson
a81f804e92
Accidentally hecked in incomplete paragraph.
7 years ago
David Wilson
83e3e1b82a
Typo.
7 years ago