update : 2015.11.03
php.shukuma.com검색:
|
Watcher callbacks
All watchers can be active(waiting for events) or inactive(paused). Only
active watchers will have their callbacks invoked. All callbacks will be
called with at least two arguments:
Watcher callbacks are passed to the watcher contructors(the classes derived from EvWatcher - EvCheck::__construct() , EvChild::__construct() etc.). A watcher callback should match the following prototype:
void
callback
([
object
$watcher
= NULL
[,
int
$revents
= NULL
]] )
Each watcher type has its associated bit in
|