fault.kernel

Fork-based worker context for daemon processes.

os
import

weakref
import

execution
import

process
import

kcore
import

kdispatch
import

system
import

ProcessManager
class

Application context maintaining a pool of worker processes.

ProcessManager__init__
method

__init__(self, application, update)

ProcessManageractuate
method

actuate(self)

ProcessManagerxact_exit
method

xact_exit(self, xact)

Called when a fork's exit has been received by the controlling process.

ProcessManagerxact_void
method

xact_void(self, final)

ProcessManagerctl_fork
method

ctl_fork(self, fid)

Fork the process using the given fid as its identifier.

ProcessManagerctl_forked
method

ctl_forked(self, fork_id)

Initial invocation of a newly forked process. Indirectly invoked by ctl_fork through system.Process.fork.

ProcessManagerterminate
method

terminate(self)