Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

worker(3) [php man page]

WORKER(3)								 1								 WORKER(3)

The Worker class

INTRODUCTION
Worker Threads have a persistent context, as such should be used over Threads in most cases. When a Worker is started, the run method will be executed, but the Thread will not leave until one of the following conditions are met: othe Worker goes out of scope (no more references remain) othe programmer calls shutdown othe script dies This means the programmer can reuse the context throughout execution; placing objects on the stack of the Worker will cause the Worker to execute the stacked objects run method. Warning The programmer must retain references to stacked objects until they are executed or unstacked; the Pool class provides a higher level abstraction of the Worker functionality and manages references for the programmer. CLASS SYNOPSIS
Worker Workerextends ThreadTraversableCountableArrayAccess Methods o public integer Worker::getStacked (void ) o public boolean Worker::isShutdown (void ) o public boolean Worker::isWorking (void ) o public boolean Worker::shutdown (void ) o public integer Worker::stack (Threaded &$work) o public integer Worker::unstack ([Threaded &$work]) Inherited methods o public void Thread::detach (void ) o public integer Thread::getCreatorId (void ) o publicstatic Thread Thread::getCurrentThread (void ) o publicstatic integer Thread::getCurrentThreadId (void ) o public integer Thread::getThreadId (void ) o publicstatic mixed Thread::globally (void ) o public boolean Thread::isJoined (void ) o public boolean Thread::isStarted (void ) o public boolean Thread::join (void ) o public void Thread::kill (void ) o public boolean Thread::start ([integer $options]) PHP Documentation Group WORKER(3)

Check Out this Related Man Page

CAIROPSSURFACE(3)							 1							 CAIROPSSURFACE(3)

The CairoPsSurface class

INTRODUCTION
CLASS SYNOPSIS
CairoPsSurface CairoPsSurfaceextends CairoSurface Methods o public CairoPsSurface::__construct (string $file, float $width, float $height) o public void CairoPsSurface::dscBeginPageSetup (void ) o public void CairoPsSurface::dscBeginSetup (void ) o public void CairoPsSurface::dscComment (string $comment) o public bool CairoPsSurface::getEps (void ) o publicstatic array CairoPsSurface::getLevels (void ) o publicstatic string CairoPsSurface::levelToString (int $level) o public void CairoPsSurface::restrictToLevel (string $level) o public void CairoPsSurface::setEps (string $level) o public void CairoPsSurface::setSize (string $width, string $height) Inherited methods o public CairoSurface::__construct (void ) o public void CairoSurface::copyPage (void ) o public void CairoSurface::createSimilar (CairoSurface $other, int $content, string $width, string $height) o public void CairoSurface::finish (void ) o public void CairoSurface::flush (void ) o public int CairoSurface::getContent (void ) o public array CairoSurface::getDeviceOffset (void ) o public void CairoSurface::getFontOptions (void ) o public int CairoSurface::getType (void ) o public void CairoSurface::markDirty (void ) o public void CairoSurface::markDirtyRectangle (string $x, string $y, string $width, string $height) o public void CairoSurface::setDeviceOffset (string $x, string $y) o public void CairoSurface::setFallbackResolution (string $x, string $y) o public void CairoSurface::showPage (void ) o public int CairoSurface::status (void ) o public void CairoSurface::writeToPng (string $file) PHP Documentation Group CAIROPSSURFACE(3)
Man Page