Skip to main content

process_destructor

Pool child process destructor.

Dispatch the :signal:worker_process_shutdown signal.

def process_destructor(
pid: int,
exitcode: int
)

Pool child process destructor. Dispatch the :signal:worker_process_shutdown signal.

Parameters​

NameTypeDescription
pidintThe process identifier of the child process being destroyed
exitcodeintThe exit status code returned by the child process upon termination

Returns​

TypeDescription
Nothing is returned by this function.