« parallel\Sync::__invoke
Введение »
PHP Manual
Расширения для управления процессами программ
pthreads
pthreads
Введение
Установка и настройка
Требования
Установка
Настройка во время выполнения
Предопределенные константы
Threaded
— Класс Threaded
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
— Класс Thread
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
— Класс Worker
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
— Интерфейс Collectable
Collectable::isGarbage
— Определяет, помечен ли объект как мусор
Collectable::setGarbage
— Пометить объект как мусор
Модификаторы
— Модификаторы методов
Pool
— Класс Pool
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
— Класс Mutex
Mutex::create
— Create a Mutex
Mutex::destroy
— Destroy Mutex
Mutex::lock
— Acquire Mutex
Mutex::trylock
— Attempt to Acquire Mutex
Mutex::unlock
— Release Mutex
Cond
— Класс Cond
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
— Класс Volatile