Reputation: 45
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
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