Threaded (class)
The Threaded class
Introduction
(PECL pthreads >= 2.0.0)
Threaded objects form the basis of pthreads ability to execute user code in parallel; they expose synchronization methods and various useful interfaces.
Threaded objects, most importantly, provide implicit safety for the programmer; all operations on the object scope are safe.