ParallelJobHandlerWorker

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjadext.nauert" { graph [label="abjadext.nauert"]; node [color=1]; "abjadext.nauert.ParallelJobHandlerWorker.ParallelJobHandlerWorker" [URL="../api/abjadext/nauert/ParallelJobHandlerWorker.html#abjadext.nauert.ParallelJobHandlerWorker.ParallelJobHandlerWorker", color=black, fontcolor=white, label="Parallel\nJob\nHandler\nWorker", target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_multiprocessing.context" { graph [label="multiprocessing.context"]; node [color=3]; "multiprocessing.context.Process" [label=Process]; } subgraph "cluster_multiprocessing.process" { graph [label="multiprocessing.process"]; node [color=4]; "multiprocessing.process.BaseProcess" [label="Base\nProcess"]; } "builtins.object" -> "multiprocessing.process.BaseProcess"; "multiprocessing.context.Process" -> "abjadext.nauert.ParallelJobHandlerWorker.ParallelJobHandlerWorker"; "multiprocessing.process.BaseProcess" -> "multiprocessing.context.Process"; }

class abjadext.nauert.ParallelJobHandlerWorker.ParallelJobHandlerWorker(job_queue=None, result_queue=None)

Parallel job-handler worker.

Worker process which runs QuantizationJobs.

Not composer-safe.

Used internally by ParallelJobHandler.


Attributes Summary

run Runs parallel job handler worker.

Special methods

(BaseProcess).__repr__()

Return repr(self).


Methods

(BaseProcess).is_alive()

Return whether process is alive

(BaseProcess).join(timeout=None)

Wait until child process terminates

run()

Runs parallel job handler worker.

Returns none.

(BaseProcess).start()

Start child process

(BaseProcess).terminate()

Terminate process; sends SIGTERM signal or uses TerminateProcess()


Read/write properties

(BaseProcess).authkey
(BaseProcess).daemon

Return whether process is a daemon

(BaseProcess).name

Read-only properties

(BaseProcess).exitcode

Return exit code of process or None if it has yet to stop

(BaseProcess).ident

Return identifier (PID) of process or None if it has yet to start

(BaseProcess).pid

Return identifier (PID) of process or None if it has yet to start

(BaseProcess).sentinel

Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.