Pré-requis

Pthreads requièrt une construction de PHP avec ZTS activé (--enable-zts, ou sur les systèmes non-Windows antérieurs à PHP 8.0.0, --enable-maintainer-zts).

Attention

La sécurité des Threads Zend (Zend Thread Safety - ZTS) ne peut pas être activée après construction; c'est une option de compilation.

pthreads devrait compiler tant qu'il y a un entête Posix Threads fonctionnel (pthread.h) ainsi qu'une construction ZTS de PHP, ceci inclut Windows (en utilisant le projet pthread-w32 de redhat).

add a note add a note

User Contributed Notes 1 note

up
-8
ross dot johsnon at loungebythelake dot net
7 years ago
The pthreads-win32 project hosted by Redhat is now known as the pthreads4w project hosted on SourceForge.
To Top