PHP的线程库pthreads.zip
该项目为PHP提供基于POSIX的多线程编程机制。可异步执行任何与定义的用户自定义方法和函数。内建支持同步和同步方法。
要求:
PHP5.3
ZTSEnabled(ThreadSafety)
PosixThreadsImplementation
示例代码:
arg = $arg;
}
public function run(){
if($this->arg
文件列表
PHP的线程库pthreads.zip
(预估有个207文件)
.travis.yml
367B
ISSUE_TEMPLATE.md
1KB
anon-unbound-use-guards.phpt
458B
anon-bound-inherited.phpt
541B
complex-statics-set-null.phpt
1KB
socket-setoption.phpt
715B
closures-as-members-repeated-reallocation.phpt
582B
immutable-threaded-members.phpt
2KB
constant-ast-copy-missing-type.phpt
490B
static-scope-vars.phpt
763B
暂无评论