PHP框架AMPHP / THREAD不再使用?

时间:2017-04-19 14:26:39

标签: multithreading amphp

是否停用了amphp / thread? amphp / amp工作正常但是当我从amphp / thread git运行任何示例编码时,我会遇到各种错误。没有一个例子可行。我注意到上次更新是在2014年。

我有没有办法让amphp / thread工作?它被取代了吗?有什么替代品?

我在mac上安装了php 7.0,内置了线程安全性。 EV,EVENT,UV全部启用。

我的.jason文件看起来像这个“amphp / amp”:“v0.17.0”,“amphp / thread”:“v0.8.1”

非常感谢。

1 个答案:

答案 0 :(得分:1)

我在这里的讨论中找到了这个问题的答案: https://github.com/amphp/thread/issues/14

不再支持amphp / thread,但希望将来可以再次使用它来使用amphp / amp v2。没有关于何时会发生这种情况的具体时间表。

此外,amphp / parallel被认为是替代amphp / thread。