yetti00
yetti00

Reputation: 45

PHP threads on Non-thread safe WIndows PHP

Is it possible to use pthreads pecl package (or something similar) on Non-thread safe windows version of PHP (accessed through fast CGI wrapper)? The requirements for pthreads state the ZTS must be enabled, so i was wondering if there was an workaround or some completely different solution.

Upvotes: 1

Views: 1114

Answers (1)

Joe Watkins
Joe Watkins

Reputation: 17148

pthreads will not work without ZTS in the PHP library; there is no workaround, nor should there be: ZTS - Zend Thread Safety ... only a madman wants threads that are unsafe !

Upvotes: 7

Related Questions