PHP Class Icicle\Concurrent\Worker\DefaultWorkerFactory

Inheritance: implements Icicle\Concurrent\Worker\WorkerFactory
Mostrar archivo Open project: icicleio/concurrent Class Usage Examples

Public Methods

Method Description
create ( ) : Worker

Method Details

create() public method

The type of worker created depends on the extensions available. If multi-threading is enabled, a WorkerThread will be created. If threads are not available, a WorkerFork will be created if forking is available, otherwise a WorkerProcess will be created.
public create ( ) : Worker
return Worker