PHP Class Spork\Fork

Afficher le fichier Open project: kriswallsmith/spork Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $pid, SharedMemory $shm, $debug = false )
always ( $always )
done ( $done )
fail ( $fail )
getError ( )
getExitStatus ( )
getOutput ( )
getPid ( )
getResult ( )
getState ( )
getStopSignal ( )
getTermSignal ( )
isExited ( )
isSignaled ( )
isStopped ( )
isSuccessful ( )
kill ( $signal = SIGINT )
notify ( )
processWaitStatus ( $status ) Processes a status value retrieved while waiting for this fork to exit.
progress ( $progress )
receive ( )
reject ( )
resolve ( )
setName ( $name ) Assign a name to the current fork (useful for debugging).
then ( $done, $fail = null )
wait ( $hang = true )

Method Details

__construct() public méthode

public __construct ( $pid, SharedMemory $shm, $debug = false )
$shm SharedMemory

always() public méthode

public always ( $always )

done() public méthode

public done ( $done )

fail() public méthode

public fail ( $fail )

getError() public méthode

public getError ( )

getExitStatus() public méthode

public getExitStatus ( )

getOutput() public méthode

public getOutput ( )

getPid() public méthode

public getPid ( )

getResult() public méthode

public getResult ( )

getState() public méthode

public getState ( )

getStopSignal() public méthode

public getStopSignal ( )

getTermSignal() public méthode

public getTermSignal ( )

isExited() public méthode

public isExited ( )

isSignaled() public méthode

public isSignaled ( )

isStopped() public méthode

public isStopped ( )

isSuccessful() public méthode

public isSuccessful ( )

kill() public méthode

public kill ( $signal = SIGINT )

notify() public méthode

public notify ( )

processWaitStatus() public méthode

Processes a status value retrieved while waiting for this fork to exit.
public processWaitStatus ( $status )

progress() public méthode

public progress ( $progress )

receive() public méthode

public receive ( )

reject() public méthode

public reject ( )

resolve() public méthode

public resolve ( )

setName() public méthode

Assign a name to the current fork (useful for debugging).
public setName ( $name )

then() public méthode

public then ( $done, $fail = null )

wait() public méthode

public wait ( $hang = true )