PHP Manual
Function Reference
Process Control Extensions
Eio
Ev
Expect
PCNTL
POSIX
Program execution
parallel
pthreads
Semaphore
Shared Memory
Sync
parallel\Sync::__invoke
Introduction
Process Control Extensions
PHP Manual
pthreads
Table of Contents
Introduction
Installing/Configuring
Requirements
Installation
Predefined Constants
Threaded
— The Threaded class
Threaded::chunk
— Manipulation
Threaded::count
— Manipulation
Threaded::extend
— Runtime Manipulation
Threaded::isRunning
— State Detection
Threaded::isTerminated
— State Detection
Threaded::merge
— Manipulation
Threaded::notify
— Synchronization
Threaded::notifyOne
— Synchronization
Threaded::pop
— Manipulation
Threaded::run
— Execution
Threaded::shift
— Manipulation
Threaded::synchronized
— Synchronization
Threaded::wait
— Synchronization
Thread
— The Thread class
Thread::getCreatorId
— Identification
Thread::getCurrentThread
— Identification
Thread::getCurrentThreadId
— Identification
Thread::getThreadId
— Identification
Thread::isJoined
— State Detection
Thread::isStarted
— State Detection
Thread::join
— Synchronization
Thread::start
— Execution
Worker
— The Worker class
Worker::collect
— Collect references to completed tasks
Worker::getStacked
— Gets the remaining stack size
Worker::isShutdown
— State Detection
Worker::shutdown
— Shutdown the worker
Worker::stack
— Stacking work
Worker::unstack
— Unstacking work
Collectable
— The Collectable interface
Collectable::isGarbage
— Determine whether an object has been marked as garbage
Pool
— The Pool class
Pool::collect
— Collect references to completed tasks
Pool::__construct
— Creates a new Pool of Workers
Pool::resize
— Resize the Pool
Pool::shutdown
— Shutdown all workers
Pool::submit
— Submits an object for execution
Pool::submitTo
— Submits a task to a specific worker for execution
Volatile
— The Volatile class