pthreads
PHP Manual

La classe Worker

(No version information available, might only be in SVN)

Introduction

Les Threads Worker ont un contexte persistent, aussi, ils peuvent être utilisés via Threads dans la plupart des cas.

Synopsis de la classe

Worker {
/* Méthodes */
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 ] )
}

Sommaire


pthreads
PHP Manual