Commit Graph

19 Commits

Author SHA1 Message Date
David Wilson 39924c432f Tidy up select docs. 2017-09-28 10:49:15 +05:30
David Wilson 6dc0e13f5f issue #20: Return type fix. 2017-09-27 13:52:05 +05:30
David Wilson 186d823600 issue #20: tests and fixes for mitogen.master.Select(). 2017-09-27 13:47:14 +05:30
David Wilson 6869292738 issue #20: initial implementation of mitogen.master.Select(). 2017-09-26 16:56:23 +05:30
David Wilson 1ed8bb6924 Document a bunch of mitogen.master and move more docstrings into Sphinx. 2017-09-21 17:04:03 +05:30
David Wilson 535ffc25b7 Move more docstrings out of core.py. 2017-09-18 14:50:41 +05:30
David Wilson 05a0feb2f9 core: support takes_econtext and takes_router decorators. 2017-09-17 22:52:11 +05:30
David Wilson 1627164165 fix unbelievably dumb variable shadowing 2017-09-17 05:25:30 +05:30
David Wilson 6e3f0702a3 A few more mitogen.slave/master changes 2017-09-17 04:22:57 +05:30
David Wilson 446e956e8f Rename package. 2017-09-11 10:20:01 +05:30
David Wilson 1bd510601e fakessh: rename API function to match index.rst. 2017-09-10 12:16:16 +05:30
David Wilson 65d5844d1a Tidy up docs. 2017-09-07 16:38:05 +05:30
David Wilson 42732c90b6 Add sudo factory to docs. 2016-11-01 12:22:30 +00:00
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 2016-08-19 15:16:31 +01:00
David Wilson fea12a6030 Many updates: graceful shutdown, docs, threading
* Start splitting docs up into internals.rst / api.rst
* Docs for lots more of econtext.core.
* Get rid of _update_stream() and has_output(), replace with individual
  functions called as state changes.
* Add Broker.on_thread() and remove Stream._lock: simply call
  on_thread() to ensure buffer management is linearized.
* Rename read_side/write_side to receive_side/transmit_side like event
  handler names.
* Clean up some more repr / debug logs.
* Move handle cleanup to Context.on_shutdown where it belongs.
* Make wake() a noop when called from broker thread.
* Replace graceful_count crap with Side.graceful attribute, add
  Broker.keep_alive() to check whether any registered readers want to
  be kept alive for graceful shutdown() or any child contexts with a
  connected stream exist.
* Make master.Broker timeout slightly longer than slave broker.
* Add generic on_thread() to allow running code on the IO thread.
2016-08-16 02:04:56 +01:00
David Wilson da4e457247 More docs, move call/call_with_deadline to econtext.master. 2016-08-14 12:25:44 +01:00
David Wilson 62520b1bcb Write history section. 2016-08-14 01:17:03 +01:00
David Wilson 63ee222406 Many docs updates. 2016-08-14 00:16:17 +01:00
David Wilson ce27058bdf Initial intro doc. 2016-08-13 22:03:58 +01:00