摘要: swoole单socket多读多写实现思路 方式一 利用通道的阻塞效果达成同一时刻只有一个协程能够访问到socket效果 # 伪代码 use Swoole\Coroutine; use Swoole\Coroutine\Channel; use function Swoole\Coroutine\r 阅读全文
posted @ 2022-03-12 23:50 alwayslinger 阅读(167) 评论(0) 推荐(0) 编辑