public function __construct() { // 创建一个管道,放入监听读的描述符集合中,避免空轮询 $this->channel = stream_socket_pair(STREAM_PF_UNIX, STREAM_SOCK_STREAM, STREAM_IPPROTO_IP); if($this->channel) ...