dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Stackable::isRunning> <Worker::unstack
[edit] Last updated: Fri, 28 Jun 2013

view this page in

The Stackable class

(PECL pthreads >= 0.36)

Introduction

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

Class synopsis

Stackable {
/* Methods */
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



add a note add a note User Contributed Notes Stackable - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites