会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
pgman
博客园
首页
新随笔
联系
订阅
管理
2020年8月26日
Swoole 4层生命周期
摘要: Swoole 4层生命周期: 1程序全局变量:onStart前创建(在onStart中创建的全局资源对象不能在Worker进程中被使用.onStart与onWorkerStart并行执行),程序运行时常驻内存,在Worker进程间共享。 程序结束(shutdown)时才回收。 2进程全局变量:onW
阅读全文
posted @ 2020-08-26 16:04 pgman
阅读(446)
评论(0)
推荐(0)
编辑
公告