Hi!
> Of course you can link your extension with any possible library.
> Particularly with pthreads, when PHP is compiled non thread safe, you
> need to be very careful using the PHP APIs. Many will be not thread
> safe in that case. Best strategy were probably not using PHP APIs in
> the thread c
Hi Simon,
> -Original Message-
> From: simon .barotte [mailto:simon.baro...@gmail.com]
> Sent: Tuesday, December 6, 2016 10:49 AM
> To: internals@lists.php.net
> Subject: [PHP-DEV] Use pthread in php extension
>
> Hi all,
>
> I developpe an extension php,
Hi all,
I developpe an extension php, and I would like use Linux pthread in my
extension (PHP 5.6.27).
But I have a feeling that my thread don't work, I looked for the
documentation but I find no concrete example.
Can I use pthread without zts activated ? Sample of my code :
void *called_from_thr