system
Введение
Расширения для управления процессами программ
PHP Manual
pthreads
Введение
Установка и настройка
Требования
Установка
Настройка во время выполнения
Предопределенные константы
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::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::getStacked
— Stack Analysis
Worker::isShutdown
— State Detection
Worker::isWorking
— State Detection
Worker::shutdown
— Synchronization
Worker::stack
— Stacking
Worker::unstack
— Stacking
Collectable
— The Collectable class
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 an object 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
system
Введение
Расширения для управления процессами программ
PHP Manual