pthreads
在线手册:中文  英文

The Stackable class

(PECL pthreads >= 0.36)

简介

Stackables are tasks that are executed by Worker threads. You can synchronize with, read, and write Stackable objects before, after and during their execution.

类摘要

Stackable {
/* 方法 */
final public boolean isRunning ( void )
final public boolean isTerminated ( void )
final public boolean isWaiting ( void )
final public boolean lock ( void )
final public boolean notify ( void )
abstract public void run ( void )
final public mixed synchronized ( Closure $block [, mixed $... ] )
final public boolean unlock ( void )
final public boolean wait ([ string $timeout ] )
}

Table of Contents


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