Commit Graph

22 Commits (a5f809cbd968d89ab9d14d2a455e27a95626ecc5)

Author SHA1 Message Date
David Wilson a5f809cbd9 Tidy up select examples even more. 7 years ago
David Wilson 05d601c315 Document channel class 7 years ago
David Wilson 89220a418a Document Sender and Receiver classes. 7 years ago
David Wilson 39924c432f Tidy up select docs. 7 years ago
David Wilson 6dc0e13f5f issue #20: Return type fix. 7 years ago
David Wilson 186d823600 issue #20: tests and fixes for mitogen.master.Select(). 7 years ago
David Wilson 6869292738 issue #20: initial implementation of mitogen.master.Select(). 7 years ago
David Wilson 1ed8bb6924 Document a bunch of mitogen.master and move more docstrings into Sphinx. 7 years ago
David Wilson 535ffc25b7 Move more docstrings out of core.py. 7 years ago
David Wilson 05a0feb2f9 core: support takes_econtext and takes_router decorators. 7 years ago
David Wilson 1627164165 fix unbelievably dumb variable shadowing 7 years ago
David Wilson 6e3f0702a3 A few more mitogen.slave/master changes 7 years ago
David Wilson 446e956e8f Rename package. 7 years ago
David Wilson 1bd510601e fakessh: rename API function to match index.rst. 7 years ago
David Wilson 65d5844d1a Tidy up docs. 7 years ago
David Wilson 42732c90b6 Add sudo factory to docs. 8 years ago
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 8 years ago
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.
8 years ago
David Wilson da4e457247 More docs, move call/call_with_deadline to econtext.master. 8 years ago
David Wilson 62520b1bcb Write history section. 8 years ago
David Wilson 63ee222406 Many docs updates. 8 years ago
David Wilson ce27058bdf Initial intro doc. 8 years ago