[英]Multi-threading in Windows PHP 7.4
I'm looking for a way to do multi-threading in PHP 7.4 on Windows.我正在寻找一种在 Windows 上的 PHP 7.4 中进行多线程的方法。 My current build is TS, x64, VC16.我当前的版本是 TS、x64、VC16。
I looked into the parallel
( on github ) extension, but onPECL , there is only support for PHP 7.3, and with VC15.我查看了parallel
(在 github 上)扩展,但在PECL 上,仅支持 PHP 7.3 和 VC15。
Is there an alternative library with windows support, or is there a way to build parallel
myself?是否有 Windows 支持的替代库,或者有没有办法自己构建parallel
?
I've been fighting with this on and off for a few months.我已经断断续续地与这个斗争了几个月。
The only successful setup of just pthreads was on php 7.2 pthreads 的唯一成功设置是在 php 7.2 上
I got parallels working on php 7.3 but this did not expose the pthreads classes that my project was using.我在 php 7.3 上有类似的工作,但这并没有公开我的项目正在使用的 pthreads 类。
I have a feeling you may need to compile your own我有一种感觉,您可能需要自己编译
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.