书栈网 · BookStack 本次搜索耗时 0.013 秒,为您找到 939 个相关结果.
  • 加入Swoole开发组

    加入Swoole开发组 加入Swoole开发组 我们非常欢迎各位PHP/C/C++ 程序员加入,共同开发维护Swoole 开源项目。Swoole 开发组是一个民主公平并且自由开放的开源组织。目前已有31 位成员,遍布国内各大互联网企业,包括腾讯,新浪,YY语音,360等。 目前共有3种加入方式: 为swoole 项目贡献C/C++ 代码,并被官...
  • swoole_event_isset

    swoole_event_isset 使用实例 swoole_event_isset 检测传入的$fd 是否已加入了事件监听。 bool swoole_event_isset ( mixed $fd , int $events = SWOOLE_EVENT_READ | SWOOLE_EVENT_WRITE ); $f...
  • swoole_event_set

    swoole_event_set 状态变更 释放回调函数 swoole_event_set 修改事件监听的回调函数和掩码。函数原型: bool swoole_event_set ( $fd , mixed $read_callback , mixed $write_callback , int $flags ); 参数与s...
  • swoole_timer_tick

    swoole_timer_tick 回调函数 定时器校正 协程模式 使用示例 swoole_timer_tick 设置一个间隔时钟定时器,与after 定时器不同的是tick 定时器会持续触发,直到调用swoole_timer_clear 清除。 int swoole_timer_tick ( int $msec , callable...
  • 当SWOOLE遇上SERVER

    1761 2019-04-22 《Swoole入门教程》
    前言 Server之初 监听:正确的地点 Swoole Server做了什么? 彪悍的Swoole工具箱 Swoole Server Swoole Client Swoole Event Swoole Async Swoole Process Swoole Buffer Swoole Table Swoole入门系列的其他 前...
  • swoole_event_exit

    swoole_event_exit swoole_event_exit 退出事件轮询,此函数仅在Client程序中有效。 void swoole_event_exit ( void )
  • swoole_event_write

    swoole_event_write SOCKET缓存区已满后,Swoole的底层逻辑 swoole_event_write 用于PHP自带stream/sockets扩展创建的socket,使用fwrite/socket_send等函数向对端发送数据。当发送的数据量较大,socket写缓存区已满,就会发送阻塞等待或者返回EAGAIN错误。 sw...
  • Leevel 响应转 Swoole 响应

    Leevel 响应转 Swoole 响应 转换 Leevel 响应的 header 转换 Leevel 响应的 cookie 转换 Leevel 跳转响应 Leevel 响应转 Swoole 响应 Testing Is Documentation tests/Protocol/Leevel2SwooleTest.php Leevel 响应...
  • Swoole协程之旅-后篇

    Swoole协程之旅-后篇 Swoole协程之旅-后篇  本篇我们开始深入PHP来分析Swoole协程的驱动部分,也就是C栈部分。  由于我们系统存在C栈和PHP栈两部分,约定名字: C协程 C栈管理部分, PHP协程 PHP栈管理部分。 增加C栈是4.x协程最重要也是最关键的部分,之前的版本种种无法完美支持PHP语法也是由于没有保存C栈信息。...
  • Swoole 请求转 Leevel 请求

    Swoole 请求转 Leevel 请求 转换 Swoole 请求的 header 转换 Swoole 请求的 server 转换 Swoole 请求的其它属性 Swoole 请求转 Leevel 请求 Testing Is Documentation tests/Protocol/Swoole2LeevelTest.php Swoole...