没有合适的资源?快使用搜索试试~ 我知道了~
PHP的线程库pthreads.zip
共207个文件
phpt:143个
php:22个
h:20个
需积分: 9 0 下载量 166 浏览量
2019-07-16
04:56:14
上传
评论
收藏 187KB ZIP 举报
温馨提示
该项目为 PHP 提供基于 POSIX 的多线程编程机制。可异步执行任何与定义的用户自定义方法和函数。内建支持同步和同步方法。 要求: PHP5.3 ZTS Enabled ( Thread Safety ) Posix Threads Implementation 示例代码: <?php class AsyncOperation extends Thread { public function __construct($arg){ $this->arg = $arg; } public function run(){ if($this->arg){ printf("Hello %s\n", $this->arg); } } } $thread = new AsyncOperation("World"); if($thread->start()) $thread->join(); ?> 标签:pthreads
资源推荐
资源详情
资源评论
收起资源包目录
PHP的线程库pthreads.zip (207个子文件)
php_pthreads.c 35KB
store.c 31KB
prepare.c 29KB
socket.c 28KB
object.c 16KB
handlers.c 11KB
stack.c 7KB
globals.c 5KB
monitor.c 4KB
resources.c 2KB
.gitignore 9B
socket.h 13KB
copy.h 12KB
pool.h 11KB
threaded.h 10KB
worker.h 8KB
pthreads.h 6KB
handlers.h 6KB
thread.h 5KB
thread.h 5KB
windows_common.h 4KB
socket.h 4KB
store.h 3KB
globals.h 3KB
object.h 3KB
monitor.h 2KB
stack.h 2KB
php_pthreads.h 2KB
prepare.h 2KB
collectable.h 2KB
resources.h 1KB
ipv6_skipif.inc 162B
traits-scope.inc 124B
includeme.inc 30B
LICENSE 3KB
config.m4 1KB
README.md 9KB
ISSUE_TEMPLATE.md 1KB
stub.php 20KB
KeepAliveSession.php 7KB
ObjectsAsParameters.php 3KB
NonBlockingSocketServer.php 3KB
Pooling.php 3KB
SocketServer.php 3KB
SharingResources.php 3KB
MySQLi.php 2KB
StackableArray.php 2KB
CallAnyFunction.php 2KB
SelectiveInheritance.php 2KB
ChannelsAndMagic.php 2KB
Singleton.php 1KB
ClosureFuture.php 1KB
fetching-data-from-a-thread.php 1010B
SimpleWebRequest.php 986B
Benchmark.php 744B
Synchronization.php 728B
Sockets.php 714B
ExternalClosureDefinition.php 222B
ExternalConstantsInterface.php 71B
child-to-parent-class-copying-helper.php 52B
shift-pop.phpt 3KB
resource-keeping.phpt 3KB
immutable-threaded-members.phpt 2KB
socket-sentto-recvfrom-unix.phpt 2KB
socket-sentto-recvfrom-ipv6-udp.phpt 2KB
socket-sentto-recvfrom-ipv4-udp.phpt 2KB
volatile-arrays.phpt 2KB
class-static-properties.phpt 2KB
volatile-nested.phpt 2KB
volatile-objects.phpt 2KB
socket-read-type.phpt 2KB
exception-handler-caught-uncaught.phpt 2KB
pools.phpt 1KB
isset-empty-compat.phpt 1KB
exception-handler.phpt 1KB
anon-interceptors.phpt 1KB
exception-handler-caught-nested.phpt 1KB
inherited-anon-class-outside-context.phpt 1KB
socket-ipv6loop.phpt 1KB
lexical-vars.phpt 1KB
closures-as-members.phpt 1KB
socket-ipv4loop.phpt 1KB
socket-unixloop.phpt 1KB
socket-connect-error-win32.phpt 1KB
iterator-funcs.phpt 1KB
hacking-serials.phpt 1KB
socket-connect-error-unix.phpt 1KB
complex-statics-set-null.phpt 1KB
crazy-refcounting-stuff.phpt 1KB
object-comparison.phpt 1KB
complex-statics.phpt 1KB
exception-handler-options.phpt 1KB
run-time-cache-corruption.phpt 1KB
doc-comments.phpt 1KB
binding.phpt 1KB
norefs.phpt 1KB
object-cast.phpt 1KB
anon-unbound-double-inherited.phpt 1KB
socket-select-unix.phpt 1KB
socket-select-win32.phpt 1KB
共 207 条
- 1
- 2
- 3
资源评论
weixin_39840515
- 粉丝: 446
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功