Commit Graph

11 Commits (9733668b50a2df5acff54a57190fb1ead070803a)

Author SHA1 Message Date
David Wilson 08e80b824d Another TODO 8 years ago
David Wilson a49fe26bb8 TODO entry. 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 1bc8681cb4 More doc updates. 8 years ago
David Wilson b05f949a17 Tidy. 8 years ago
David Wilson c82ddeb0f7 More howitworks.rst. 8 years ago
David Wilson 737d095ffc More docs. 8 years ago
David Wilson 753544c104 Add wtf.gif. 8 years ago
David Wilson 62520b1bcb Write history section. 8 years ago
David Wilson 1bafeb4434 Doc updates. 8 years ago
David Wilson fb501f66db Add history.rst. 8 years ago