Home >Backend Development >PHP Tutorial >Basic introduction to PHP libevent function php libevent libevent udp linux libevent

Basic introduction to PHP libevent function php libevent libevent udp linux libevent

WBOY
WBOYOriginal
2016-07-29 08:53:021497browse

event_base_free() releases resources, this cannot destroy bound events
event_base_loop() handles events and processes the event loop according to the specified base
event_base_loopbreak() immediately cancels the event loop, and the behavior is the same for each break statement
event_base_loopexit() exits the loop after the specified time
event_base_new() creates and initializes events
event_base_priority_init() sets the priority of the event
event_base_set() associates events to event base
event_buffer_base_set() associates cached events to event_base
event_buffer_disable() disables a cached event
event_buffer_enable() enables a specified buffered event
event_buffer_fd_set() changes a cached file system description
event_buffer_free() releases cached events
event_buffer_new() creates a new buffer event
event_buffer_priority_set() cache event priority setting
event_buffer_read() reads data in cached events
event_buffer_set_callback() sets or resets the callback hansh function for cached events
event_buffer_timeout_set() sets the timeout read and write time for a cached event
event_buffer_watermark_set sets the watermark of read and write events
event_buffer_write() writes data to the cache event
event_add() adds an execution event to the specified setting
event_del() removes an event from the set events
event_free() clears the event handle
event_new() creates a new event
event_set() Prepare to add events in event_add

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above has introduced the basic introduction of PHP libevent function, including the content of libevent. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn