« 范例
event_add »
PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境
PHP Manual
Libevent
Libevent 函数
Libevent 函数
Table of Contents
event_add
— Add an event to the set of monitored events
event_base_free
— Destroy event base
event_base_loop
— Handle events
event_base_loopbreak
— Abort event loop
event_base_loopexit
— Exit loop after a time
event_base_new
— Create and initialize new event base
event_base_priority_init
— Set the number of event priority levels
event_base_reinit
— Reinitialize the event base after a fork
event_base_set
— Associate event base with an event
event_buffer_base_set
— Associate buffered event with an event base
event_buffer_disable
— Disable a buffered event
event_buffer_enable
— Enable a buffered event
event_buffer_fd_set
— Change a buffered event file descriptor
event_buffer_free
— Destroy buffered event
event_buffer_new
— Create new buffered event
event_buffer_priority_set
— Assign a priority to a buffered event
event_buffer_read
— Read data from a buffered event
event_buffer_set_callback
— Set or reset callbacks for a buffered event
event_buffer_timeout_set
— Set read and write timeouts for a buffered event
event_buffer_watermark_set
— Set the watermarks for read and write events
event_buffer_write
— Write data to a buffered event
event_del
— Remove an event from the set of monitored events
event_free
— Free event resource
event_new
— Create new event
event_priority_set
— Assign a priority to an event
event_set
— Prepare an event
event_timer_add
— 别名 event_add
event_timer_del
— 别名 event_del
event_timer_new
— 别名 event_new
event_timer_set
— Prepare a timer event