issue #155: docs: document behaviour of forked children

pull/167/head
David Wilson 6 years ago
parent 110fdf24cd
commit 75b9e1d71e

@ -2,6 +2,11 @@
API Reference API Reference
************* *************
.. toctree::
:hidden:
signals
Package Layout Package Layout
============== ==============
@ -516,7 +521,11 @@ Router Class
.. method:: fork (new_stack=False, debug=False, profiling=False) .. method:: fork (new_stack=False, debug=False, profiling=False)
Construct a context on the local machine by forking the current Construct a context on the local machine by forking the current
process. The associated stream implementation is process. The forked child receives a new identity, sets up a new broker
and router, and responds to function calls identically, just like
children created using any other method.
The associated stream implementation is
:py:class:`mitogen.fork.Stream`. :py:class:`mitogen.fork.Stream`.
:param bool new_stack: :param bool new_stack:

Loading…
Cancel
Save