Module: Parallel::ForkManager::ProcessInterface

Extended by:
Forwardable
Included in:
Parallel::ForkManager
Defined in:
lib/parallel/forkmanager/process_interface.rb

Overview

This module defines an interface to fork & waitpid so that there is a good “seam” at which to mock.

ProcessInterface adds a process_interface attribute and delegates fork, child_status, and waitpid to it as private methods.

Defined Under Namespace

Classes: Instance