« parallel\Sync::__invoke
Introducere »
PHP Manual
Extensii de control al proceselor
pthreads
pthreads
Introducere
Instalarea / configurarea
Necesități
Instalarea
Configurația la rulare
Constante predefinite
Threaded
— The Threaded class
Threaded::chunk
— Manipulation
Threaded::count
— Manipulation
Threaded::extend
— Runtime Manipulation
Threaded::from
— Creation
Threaded::getTerminationInfo
— Error Detection
Threaded::isRunning
— State Detection
Threaded::isTerminated
— State Detection
Threaded::isWaiting
— State Detection
Threaded::lock
— Synchronization
Threaded::merge
— Manipulation
Threaded::notify
— Synchronization
Threaded::notifyOne
— Synchronization
Threaded::pop
— Manipulation
Threaded::run
— Execution
Threaded::shift
— Manipulation
Threaded::synchronized
— Synchronization
Threaded::unlock
— Synchronization
Threaded::wait
— Synchronization
Thread
— The Thread class
Thread::detach
— Execution
Thread::getCreatorId
— Identification
Thread::getCurrentThread
— Identification
Thread::getCurrentThreadId
— Identification
Thread::getThreadId
— Identification
Thread::globally
— Execution
Thread::isJoined
— State Detection
Thread::isStarted
— State Detection
Thread::join
— Synchronization
Thread::kill
— Execution
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::isWorking
— 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
Collectable::setGarbage
— Mark an object as garbage
Modifiers
— Method Modifiers
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
Mutex
— The Mutex class
Mutex::create
— Create a Mutex
Mutex::destroy
— Destroy Mutex
Mutex::lock
— Acquire Mutex
Mutex::trylock
— Attempt to Acquire Mutex
Mutex::unlock
— Release Mutex
Cond
— The Cond class
Cond::broadcast
— Broadcast a Condition
Cond::create
— Create a Condition
Cond::destroy
— Destroy a Condition
Cond::signal
— Signal a Condition
Cond::wait
— Wait for Condition
Volatile
— The Volatile class