PHP Class GracefulDeath

Afficher le fichier Open project: gabrielelana/graceful-death Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $main, $afterNaturalDeath, $afterViolentDeath, $reanimationPolicy, $options )
around ( $main )
run ( )

Private Methods

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

Method Details

__construct() public méthode

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

around() public static méthode

public static around ( $main )

run() public méthode

public run ( )