mitogen/docs
David Wilson 38c0ad1eea core: don't deregister Router handles until Broker exit.
Lots of "invalid handle: ..., 102" messages started appearing during
exit recently because ordering changed slightly, and local handles were
sent _DEAD even though the broker loop was still progressing through
shutdown.

The "shutdown" event is too early to close handles: it is the start of
the grace period where streams and downstream contexts can finish up any
work and deliver buffered data, including FORWARD_LOG messages that
haven't arrived yet.

So instead,

- move the _DEAD logic to the "exit" event,
- get rid of Context.on_shutdown() entirely, it's been unused for over
  a month,
- get rid of the "crash" event, since it always fires prior to "exit",
  and its only use was to send _DEAD to local handles, which now happens
  during exit anyway.
2018-04-11 01:51:27 +01:00
..
_static docs: more getting started guide 2018-03-19 21:58:27 +05:45
_templates docs: fix reading time tracking :( 2018-03-28 18:38:20 +05:45
images core: make _start_transmit / _stop_transmit async-only 2018-03-29 15:10:43 +05:45
.gitignore docs: fix intensely annoying _prefix, 2 years later. 2018-04-06 16:50:36 +01:00
Makefile docs: fix intensely annoying _prefix, 2 years later. 2018-04-06 16:50:36 +01:00
ansible.rst docs: tidy up big list of bullets. 2018-04-09 15:12:39 +01:00
api.rst Introduce handler policy functions; closes #138. 2018-03-29 21:40:33 +05:45
compared.rst docs: Maximum size of pencode values 2018-03-19 21:58:33 +05:45
conf.py docs: override insane list of fallback fonts 2018-04-09 20:10:39 +01:00
docs-requirements.txt tests: Add Tox config for Python 2.6 and 2.7 2018-03-19 21:58:34 +05:45
examples.rst docs: fix typo 2018-03-19 21:58:28 +05:45
getting_started.rst docs: More getting started. 2018-03-30 13:05:47 +05:45
howitworks.rst issue #155: parent: move master.Context into parent. 2018-03-24 19:19:45 +05:45
index.rst parent: allow Python to determine its install prefix from argv[0] 2018-03-19 21:58:35 +05:45
internals.rst core: make _start_transmit / _stop_transmit async-only 2018-03-29 15:10:43 +05:45
pickle-substitutes.ods docs: First round of Pickle-likes survey 2018-03-19 21:58:33 +05:45
services.rst ansible: enable forking when requested and for async jobs. 2018-04-09 00:03:09 +01:00
shame.rst docs: Fix function name. 2018-03-19 21:58:28 +05:45
signals.rst core: don't deregister Router handles until Broker exit. 2018-04-11 01:51:27 +01:00
toc.rst docs: initial Ansible extension docs. 2018-03-19 21:58:29 +05:45