Skip to content

Commit

Permalink
Doc: Clean up description of op in manage
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahao committed Oct 5, 2014
1 parent d1cc4ba commit dcde391
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions doc/manual/parallel-computing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -729,13 +729,15 @@ The ``manage`` method takes the following arguments:
- ``manager::ClusterManager`` - used to dispatch the call to the appropriate implementation
- ``id::Integer`` - The Julia process id
- ``config::Dict`` - configuration dictionary for the worker. The data may have been modified by the ``launch`` method
- ``op::Symbol`` - The ``manage`` method is called at different times during the worker's lifetime.
``op`` is one of ``:register``, ``:deregister``, ``:interrupt`` or ``:finalize``.
``manage`` is called with ``:register`` and ``:deregister`` when a worker is
added / removed from the Julia worker pool. With ``:interrupt`` when
``interrupt(workers)`` is called. The cluster manager should signal the appropriate
worker with an interrupt signal. With ``:finalize`` for cleanup purposes.

- ``op::Symbol`` - one of ``:register``, ``:deregister``, ``:interrupt`` or ``:finalize``.
The ``manage`` method is called at different times during the worker's lifetime:

- with ``:register``/``:deregister`` when a worker is added / removed
from the Julia worker pool.
- with ``:interrupt`` when ``interrupt(workers)`` is called. The
``ClusterManager`` should signal the appropriate worker with an
interrupt signal.
- with ``:finalize`` for cleanup purposes.

.. rubric:: Footnotes

Expand Down

0 comments on commit dcde391

Please sign in to comment.