Commit Graph

7 Commits (628a08e33954ecbf90bb38b028bf9a58f4c76320)

Author SHA1 Message Date
David Wilson 42732c90b6 Add sudo factory to docs. 9 years ago
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 9 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.
9 years ago
David Wilson da4e457247 More docs, move call/call_with_deadline to econtext.master. 10 years ago
David Wilson 62520b1bcb Write history section. 10 years ago
David Wilson 63ee222406 Many docs updates. 10 years ago
David Wilson ce27058bdf Initial intro doc. 10 years ago