You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/docs
David Wilson 7c88e4d013 Move _DEAD into header, autogenerate dead messages
This change blocks off 2 common scenarios where a race condition is
upgraded to a hang, when the library could internally do better.

* Since we don't know whether the receiver of a `reply_to` is expecting
  a raw or pickled message, and since in the case of a raw reply, there
  is no way to signal "dead" to the receiver, override the reply_to
  field to explicitly mark a message as dead using a special handle.

  This replaces the serialized _DEAD sentinel value with a slightly
  neater interface, in the form of the reserved IS_DEAD handle, and
  enables an important subsequent change: when a context cannot route a
  message, it can send a generic 'dead' reply back towards the message
  source, ensuring any sleeping thread is woken with ChannelError.

  The use of this field could potentially be extended later on if
  additional flags are needed, but for now this seems to suffice.

* Teach Router._invoke() to reply with a dead message when it receives a
  message for an invalid local handle.

* Teach Router._async_route() to reply with a dead message when it
  receives an unroutable message.
7 years ago
..
_static docs: more getting started guide 7 years ago
_templates docs: fix reading time tracking :( 7 years ago
images core: make _start_transmit / _stop_transmit async-only 7 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 7 years ago
Makefile docs: fix intensely annoying _prefix, 2 years later. 7 years ago
ansible.rst docs: typo 7 years ago
api.rst Move _DEAD into header, autogenerate dead messages 7 years ago
compared.rst docs: Maximum size of pencode values 7 years ago
conf.py docs: override insane list of fallback fonts 7 years ago
docs-requirements.txt tests: Add Tox config for Python 2.6 and 2.7 7 years ago
examples.rst docs: fix typo 7 years ago
getting_started.rst Move _DEAD into header, autogenerate dead messages 7 years ago
howitworks.rst Move _DEAD into header, autogenerate dead messages 7 years ago
index.rst parent: allow Python to determine its install prefix from argv[0] 7 years ago
internals.rst Move _DEAD into header, autogenerate dead messages 7 years ago
pickle-substitutes.ods docs: First round of Pickle-likes survey 7 years ago
services.rst ansible: enable forking when requested and for async jobs. 7 years ago
shame.rst docs: Fix function name. 7 years ago
signals.rst core: don't deregister Router handles until Broker exit. 7 years ago
toc.rst docs: initial Ansible extension docs. 7 years ago