update : 2015.11.03
php.shukuma.com검색:
|
About event persistenceBy default, whenever a pending event becomes active (because its file descriptor is ready to read or write, or because its timeout expires), it becomes non-pending right before its callback is executed. Thus, to make the event pending again one may call Event::add() on it again from inside the callback function.
If the
The timeout on a persistent event resets whenever the event's callback runs.
Thus, if one has an event with flags
See also » Fast portable non-blocking network programming with Libevent, About Event Persistence |