php8.5
Home/ Manual/ reference / pthreads/ The Threaded class

The Threaded class

Threaded objects form the basis of pthreads ability to execute user code in parallel; they expose synchronization methods and various useful interfaces.

Intro

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.

Class synopsis

class Threaded { }

Threaded

In this section

Source: reference/pthreads/threaded.xml · from the official PHP manual (php/doc-en)