略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: Ev
2025-04-01
简介 »
« eio_write
PHP 手册
函数参考
进程控制扩展
Ev
简介
安装/配置
需求
安装
示例
Watchers
Watcher callbacks
Periodic watcher operation modes
Ev
— The Ev class
Ev::backend
— Returns an integer describing the backend used by libev
Ev::depth
— Returns recursion depth
Ev::embeddableBackends
— Returns the set of backends that are embeddable in other event loops
Ev::feedSignal
— Feed a signal event info Ev
Ev::feedSignalEvent
— Feed signal event into the default loop
Ev::iteration
— Return the number of times the default event loop has polled for new events
Ev::now
— Returns the time when the last iteration of the default event loop has started
Ev::nowUpdate
— Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress
Ev::recommendedBackends
— Returns a bit mask of recommended backends for current platform
Ev::resume
— Resume previously suspended default event loop
Ev::run
— Begin checking for events and calling callbacks for the default loop
Ev::sleep
— Block the process for the given number of seconds
Ev::stop
— Stops the default event loop
Ev::supportedBackends
— Returns the set of backends supported by current libev configuration
Ev::suspend
— Suspend the default event loop
Ev::time
— Returns the current time in fractional seconds since the epoch
Ev::verify
— Performs internal consistency checks(for debugging)
EvCheck
— The EvCheck class
EvCheck::__construct
— Constructs the EvCheck watcher object
EvCheck::createStopped
— Create instance of a stopped EvCheck watcher
EvChild
— The EvChild class
EvChild::__construct
— Constructs the EvChild watcher object
EvChild::createStopped
— Create instance of a stopped EvCheck watcher
EvChild::set
— Configures the watcher
EvEmbed
— The EvEmbed class
EvEmbed::__construct
— Constructs the EvEmbed object
EvEmbed::createStopped
— Create stopped EvEmbed watcher object
EvEmbed::set
— Configures the watcher
EvEmbed::sweep
— Make a single, non-blocking sweep over the embedded loop
EvFork
— The EvFork class
EvFork::__construct
— Constructs the EvFork watcher object
EvFork::createStopped
— Creates a stopped instance of EvFork watcher class
EvIdle
— The EvIdle class
EvIdle::__construct
— Constructs the EvIdle watcher object
EvIdle::createStopped
— Creates instance of a stopped EvIdle watcher object
EvIo
— The EvIo class
EvIo::__construct
— Constructs EvIo watcher object
EvIo::createStopped
— Create stopped EvIo watcher object
EvIo::set
— Configures the watcher
EvLoop
— The EvLoop class
EvLoop::backend
— Returns an integer describing the backend used by libev
EvLoop::check
— Creates EvCheck object associated with the current event loop instance
EvLoop::child
— Creates EvChild object associated with the current event loop
EvLoop::__construct
— Constructs the event loop object
EvLoop::defaultLoop
— Returns or creates the default event loop
EvLoop::embed
— Creates an instance of EvEmbed watcher associated with the current EvLoop object
EvLoop::fork
— Creates EvFork watcher object associated with the current event loop instance
EvLoop::idle
— Creates EvIdle watcher object associated with the current event loop instance
EvLoop::invokePending
— Invoke all pending watchers while resetting their pending state
EvLoop::io
— Create EvIo watcher object associated with the current event loop instance
EvLoop::loopFork
— Must be called after a fork
EvLoop::now
— Returns the current "event loop time"
EvLoop::nowUpdate
— Establishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress
EvLoop::periodic
— Creates EvPeriodic watcher object associated with the current event loop instance
EvLoop::prepare
— Creates EvPrepare watcher object associated with the current event loop instance
EvLoop::resume
— Resume previously suspended default event loop
EvLoop::run
— Begin checking for events and calling callbacks for the loop
EvLoop::signal
— Creates EvSignal watcher object associated with the current event loop instance
EvLoop::stat
— Creates EvStat watcher object associated with the current event loop instance
EvLoop::stop
— Stops the event loop
EvLoop::suspend
— Suspend the loop
EvLoop::timer
— Creates EvTimer watcher object associated with the current event loop instance
EvLoop::verify
— Performs internal consistency checks(for debugging)
EvPeriodic
— The EvPeriodic class
EvPeriodic::again
— Simply stops and restarts the periodic watcher again
EvPeriodic::at
— Returns the absolute time that this watcher is supposed to trigger next
EvPeriodic::__construct
— Constructs EvPeriodic watcher object
EvPeriodic::createStopped
— Create a stopped EvPeriodic watcher
EvPeriodic::set
— Configures the watcher
EvPrepare
— The EvPrepare class
EvPrepare::__construct
— Constructs EvPrepare watcher object
EvPrepare::createStopped
— Creates a stopped instance of EvPrepare watcher
EvSignal
— The EvSignal class
EvSignal::__construct
— Constructs EvSignal watcher object
EvSignal::createStopped
— Create stopped EvSignal watcher object
EvSignal::set
— Configures the watcher
EvStat
— The EvStat class
EvStat::attr
— Returns the values most recently detected by Ev
EvStat::__construct
— Constructs EvStat watcher object
EvStat::createStopped
— Create a stopped EvStat watcher object
EvStat::prev
— Returns the previous set of values returned by EvStat::attr
EvStat::set
— Configures the watcher
EvStat::stat
— Initiates the stat call
EvTimer
— The EvTimer class
EvTimer::again
— Restarts the timer watcher
EvTimer::__construct
— Constructs an EvTimer watcher object
EvTimer::createStopped
— Creates EvTimer stopped watcher object
EvTimer::set
— Configures the watcher
EvWatcher
— The EvWatcher class
EvWatcher::clear
— Clear watcher pending status
EvWatcher::__construct
— Abstract constructor of a watcher object
EvWatcher::feed
— Feeds the given revents set into the event loop
EvWatcher::getLoop
— Returns the loop responsible for the watcher
EvWatcher::invoke
— Invokes the watcher callback with the given received events bit mask
EvWatcher::keepalive
— Configures whether to keep the loop from returning
EvWatcher::setCallback
— Sets new callback for the watcher
EvWatcher::start
— Starts the watcher
EvWatcher::stop
— Stops the watcher
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
官方地址:
https://www.php.net/manual/en/book.ev.php
有任何技术问题请点击这里
网站运营推广招聘
IT
PHP
编程语言
开发编程
Linux
科技
Elasticsearch
HTML/CSS/XML
面试
数据库
网络
JAVA
NoSQL
C/C++
Golang
Git
算法
操作系统
正则表达式
Redis
互联网
MySql
JavaScript
运维
软件
国际
架构设计
Mac OS
TCP/IP
Excel
Windows
Vim
Socket
Oracle
VR
MongoDB
Python
运营
MemCache
商业
硬件
电子
娱乐
设计
nginx
摄影
游戏
WordPress
HTTP
团建
数码电器
Docker
广告
广告
laravel查看orm生成的sql
PHPStorm ESC 会退出命令行
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
docker-compose启动nginx与php-fpm
composer install参数
php7 安装fileinfo扩展
php位值,解决 PHP 中 usort 在值相同时改变原始位置的问题
preg_split — 通过一个正则表达式分隔字符串
[PHP] inet_pton/inet_ntop IP地址转换函数
Composer的Packagist资源
[鸟哥]PHP_INT_MIN 和 -9223372036854775808
PHP json解析(json_decode)页面工具
opcache预加载
mysql面试题
PHP 8.1
ADORecordSet对象
支持php7的性能采集扩展
adodb手册
adodb连接mysql多个数据库的问题
PHP5 扩展SOAP 调用 webservice
联系我们
半月雨文化
可降解耗材网
蓝云环保
78免费小説
上海网站seo优化
工程造价
币安app官网下载
币安app官网下载
coinbase
贷款信息
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3