pthreads
在线手册:中文  英文

The Worker class

(PECL pthreads >= 0.36)

简介

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

类摘要

Worker {
/* 方法 */
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 ([ long $options ] )
final public int unstack ([ Stackable $work ] )
}

Table of Contents


pthreads
在线手册:中文  英文
易百教程