PHP Class GracefulDeath

Mostrar archivo Open project: gabrielelana/graceful-death Class Usage Examples

Public Methods

Method Description
__construct ( $main, $afterNaturalDeath, $afterViolentDeath, $reanimationPolicy, $options )
around ( $main )
run ( )

Private Methods

Method Description
afterChildDeathWithStatus ( $status, $attempts, $lastWill )
canTryAnotherTime ( $status, $attempts, $lastWill )
catchAndForwardSignalTo ( $pid )
catchSignalsFor ( $life )
exitStatusOfLastChild ( $status )
waitUntilProcessDiesAndReturnStatus ( $pid )

Method Details

__construct() public method

public __construct ( $main, $afterNaturalDeath, $afterViolentDeath, $reanimationPolicy, $options )

around() public static method

public static around ( $main )

run() public method

public run ( )