Commit Graph

162 Commits (28d5de77a32ab6a70fe90cb20f3d24b660be4001)

Author SHA1 Message Date
David Wilson af04f24c95 docs: fix Select() example for new style API. 7 years ago
dw 3e20b5036f
Merge pull request #79 from moreati/doc-router-route
Fix indentation of Router.route anchor
7 years ago
dw 9d1859796c
Merge pull request #83 from moreati/msg-in-a-jar
Fix lingering references to mitogen.core.Receiver.get_data()
7 years ago
Alex Willmer 3bf204f8d6 docs: Fix out of date get_data() snippets
As of adc8fe3aed Receiver objects do not
have a get_data() method and Receiver.get() does not unpickle the
message.
7 years ago
David Wilson a6324aaeb1 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
Alex Willmer 631c97b143 Fix indentation of Router.route anchor 7 years ago
David Wilson dadee5dc05 docs: add Message documentation 7 years ago
David Wilson 8ef87bea6a select: clean up API. 7 years ago
David Wilson c9affbaf50 core: add auth_id field. 7 years ago
David Wilson ddf4a21bac Add mitogen.main() decorator mainly for docs and demo use. 7 years ago
David Wilson 6897227a31 utils: support log_to_file(usec=True) 7 years ago
David Wilson b194e46d35 docs: reorder sections 7 years ago
David Wilson 1acb068fb6 docs: remove obsolete warning 7 years ago
David Wilson 76e4683ef1 docs: sphinx-autobuild default target. 7 years ago
David Wilson 3f86347edc docs: fix typo 7 years ago
David Wilson e930099755 docs: vastly simplify importer concurrency docs 7 years ago
David Wilson 716637a20c importer: Beginnings of howitworks section. 7 years ago
David Wilson baf1d0e13d Tidy up and correct the new example 7 years ago
David Wilson 396c4f3cf2 Add shell replacement example. 7 years ago
David Wilson 549942344e docs: Fix function name. 7 years ago
David Wilson 22c1594f04 Simplify the API, make Broker optional and auto-shutdown on main thread exit. 7 years ago
Alex Willmer 7473addfd2 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 36300b9fe6 docs: convert paragraph to footnote. 7 years ago
David Wilson 255656ef50 issue #49: update howitworks.rst for command line change 7 years ago
David Wilson dcea7ac616 docs: waiting on multiple calls 7 years ago
David Wilson 8f42a58281 docs: move Router.route() into Sphinx. 7 years ago
David Wilson b43cd31d59 docs: Add warning to preloading section. 7 years ago
David Wilson 48096ab033 docs: move Broker docstrings into Sphinx. 7 years ago
David Wilson 7eb81a1694 docs: more getting started guide 7 years ago
David Wilson d800b684ef Merge branch 'module-preloading'
Not much point in keeping the docs changes separate.
7 years ago
David Wilson 0b141ade62 docs: getting started 7 years ago
David Wilson 4632c73a72 More. 7 years ago
David Wilson d00821be89 docs: way more appropriate image 7 years ago
David Wilson 6792893666 docs: more getting started 7 years ago
David Wilson 2d6b004fa0 docs: Getting started tidyups 7 years ago
David Wilson dddaa29526 docs: Get started on Getting Started 7 years ago
David Wilson dc6ed860f7 docs: fix reference to with: 7 years ago
David Wilson 320191cae2 docs: move fakessh docs into Sphinx. 7 years ago
David Wilson 2830304407 docs: move mitogen.utils docs to Sphinx. 7 years ago
David Wilson b56f848cc6 docs: fix decorator types. 7 years ago
David Wilson 2bda6ee70c docs: better io_op doc, move Side docs to Sphinx. 7 years ago
David Wilson 15492adabc docs: move BasicStream docs into Sphinx. 7 years ago
David Wilson 8e69838b44 docs: annother barriage of cross-reference fixes. 7 years ago
David Wilson b88e68df72 docs: Fix up tons of references, document trust chain 7 years ago
David Wilson bab232f07c importer: module preloading docs 7 years ago
David Wilson 8439e889ed 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 0e51aa5cd9 master: hack to avoid executing __main__. 7 years ago
David Wilson 88c82aff6a docs: Fix index generation everywhere. 7 years ago
David Wilson 8fec1f985e docs: remove note, unpickling can no longer trigger module loads 7 years ago
David Wilson 2d2d547a1c docs: s/random/pseudorandom/ 7 years ago