略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 简介

2024-11-14

简介

This extension provides interface to » libev library - a high performance full-featured event loop written in C.

注意: 此扩展在 Windows 平台上不可用。

Libev is an event loop: one registers interest in certain events (such as a file descriptor being readable or a timeout occurring), and it will manage these event sources and provide the program with events.

To do this, it must take more or less complete control over the process (or thread) by executing the event loop handler, and will then communicate events via a callback mechanism.

You register interest in certain events by registering so-called event watchers, and then hand it over to libev by starting the watcher.

For details refer to the » documentation of libev

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/intro.ev.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3