Commit Graph

21 Commits (ec21caa098af0fafe23d80e772d809f9e74670b1)

Author SHA1 Message Date
David Wilson ec21caa098 IOLOG re. 9 years ago
David Wilson ba3a0b6c48 Fix line numbers. 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 f88b0a11e9 Python 2.4 fixes. 9 years ago
David Wilson 1f27872eda Many docs updates. 9 years ago
David Wilson 95902d94b0 Python 2.5 fix: Logger.getChild() does not exist there. 9 years ago
David Wilson da4e457247 More docs, move call/call_with_deadline to econtext.master. 9 years ago
David Wilson 62520b1bcb Write history section. 9 years ago
David Wilson ce27058bdf Initial intro doc. 9 years ago
David Wilson cc18ab5e28 Tidy up event names and docstrings. 9 years ago
David Wilson d6d13ee506 Rationalize _fixup_package(), fix _setup_master() name. 9 years ago
David Wilson 0e58a48611 Fix method naming everywhere. 9 years ago
David Wilson 70c2032bb2 Another hackish graceful shutdown method. 9 years ago
David Wilson 9a8fc5e167 Another attempt at graceful shutdown. 9 years ago
David Wilson 4bf9d35e74 Better LocalStream bootstrap failure message. 9 years ago
David Wilson 8216edd755 Quieter logging of ImportError. 9 years ago
David Wilson d9e9d94f30 GetLocal(python_path=...) 9 years ago
David Wilson 7683ee060e Split out GetPreamble. 9 years ago
David Wilson 8fdedff8e7 Do docstring and comment removal before compression. 9 years ago
David Wilson bca3a65157 Use set_cloexec() everywhere. 9 years ago
David Wilson 274f7f91a3 Oops, forgot to check in master.py. 9 years ago