Skip to content

Commit dcde391

Browse files
committed
Doc: Clean up description of op in manage
1 parent d1cc4ba commit dcde391

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/manual/parallel-computing.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -729,13 +729,15 @@ The ``manage`` method takes the following arguments:
729729
- ``manager::ClusterManager`` - used to dispatch the call to the appropriate implementation
730730
- ``id::Integer`` - The Julia process id
731731
- ``config::Dict`` - configuration dictionary for the worker. The data may have been modified by the ``launch`` method
732-
- ``op::Symbol`` - The ``manage`` method is called at different times during the worker's lifetime.
733-
``op`` is one of ``:register``, ``:deregister``, ``:interrupt`` or ``:finalize``.
734-
``manage`` is called with ``:register`` and ``:deregister`` when a worker is
735-
added / removed from the Julia worker pool. With ``:interrupt`` when
736-
``interrupt(workers)`` is called. The cluster manager should signal the appropriate
737-
worker with an interrupt signal. With ``:finalize`` for cleanup purposes.
738-
732+
- ``op::Symbol`` - one of ``:register``, ``:deregister``, ``:interrupt`` or ``:finalize``.
733+
The ``manage`` method is called at different times during the worker's lifetime:
734+
735+
- with ``:register``/``:deregister`` when a worker is added / removed
736+
from the Julia worker pool.
737+
- with ``:interrupt`` when ``interrupt(workers)`` is called. The
738+
``ClusterManager`` should signal the appropriate worker with an
739+
interrupt signal.
740+
- with ``:finalize`` for cleanup purposes.
739741

740742
.. rubric:: Footnotes
741743

0 commit comments

Comments
 (0)