Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
The Thread class
Вернуться к: pthreads
(PECL pthreads >= 2.0.0)
Введение
When the start method of a Thread is invoked, the run method code will be executed in separate Thread, in parallel.
After the run method is executed the Thread will exit immediately, it will be joined with the creating Thread at the appropriate time.
Внимание
Relying on the engine to determine when a Thread should join may cause undesirable behaviour; the programmer should be explicit, where possible.
Обзор классов
/* Методы */
/* Наследуемые методы */
}Содержание
- 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
Вернуться к: pthreads