2017 © Pedro Peláez
 

library process-control

A PHP process control library

image

aboutcoders/process-control

A PHP process control library

  • Friday, December 30, 2016
  • by aboutcoders
  • Repository
  • 1 Watchers
  • 4 Stars
  • 3,505 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 10 Versions
  • 5 % Grown

The README.md

Process Control

A PHP process control library., (*1)

Build Status: Build Status, (*2)

The interface

The ControllerInterface defines the method doExit() that indicates whether to exist a process., (*3)

interface ControllerInterface
{
    /**
     * Indicates whether to exit a process
     *
     * @return boolean
     */
    public function doExit();
}

The PcntlController

The PcntlController listens to PCNTL events to determine whether to exit a process., (*4)

    $stopsignals = array(SIGTERM);
    $logger = new Psr\Log\NullLogger();

    $controller = new PcntlController($stopsignals, $logger);

    while(!$controller->doExit())
    {
        // do something
    }

The ChainController

The ChainController executes multiple controllers in a chain to determine whether to exit a process., (*5)

The NullController

The NullController never indicates to exit a process., (*6)

Note: This controller can be used as fallback controller for the PcntlController in runtime environments where PCNTL functions to not exist., (*7)

The Versions

30/12 2016

dev-master

9999999-dev http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

30/12 2016

1.3.2

1.3.2.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

02/11 2016

1.3.1

1.3.1.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

17/10 2016

1.3.0

1.3.0.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

15/10 2016

1.2.2

1.2.2.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

29/05 2016

1.2.1

1.2.1.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

23/05 2016

1.2.0

1.2.0.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control signal controller pcntl iteration

22/05 2016

1.1.0

1.1.0.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control pcntl

04/04 2016

1.0.0

1.0.0.0 http://aboutcoders.com/

A PHP process control library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hannes Schulz

process control pcntl

24/07 2014

1.0

1.0.0.0 http://aboutcoders.com/

A process control library

  Sources   Download

AboutCoders

The Requires

 

The Development Requires

by Hannes Schulz

process control pcntl