pthreads
PHP Manual

The Worker class

(No hay información de versión disponible, podría estar únicamente en SVN)

Introducción

Worker Threads have a persistent context, as such should be used over Threads in most cases.

Sinopsis de la Clase

Worker {
/* Métodos */
final public long getCreatorId ( void )
final public int getStacked ( void )
final public long getThreadId ( void )
final public boolean isShutdown ( void )
final public boolean isWorking ( void )
abstract public void run ( void )
final public boolean shutdown ( void )
final public int stack ( Stackable $work )
final public boolean start ( void )
final public int unstack ([ Stackable $work ] )
}

Tabla de contenidos


pthreads
PHP Manual