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
{
final public boolean chunk
(
long $size
,
boolean $preserve
)
final public boolean lock
(
void
)
final public boolean notify
(
void
)
final public boolean pop
(
void
)
abstract public void run
(
void
)
final public boolean shift
(
void
)
final public boolean unlock
(
void
)
final public boolean wait
([
string $timeout
] )
}
Table of Contents
There are no user contributed notes for this page.