update : 2015.11.03
php.shukuma.com검색:
|
EvWatcher::clear(PECL ev >= 0.2.0) EvWatcher::clear — Clear watcher pending status 설명
public
int
EvWatcher::clear
( void
)
If the watcher is pending, this method clears its
pending
status and returns its
revents
bitset(as if its callback was invoked). If the watcher isn't pending
it does nothing and returns
Sometimes it can be useful to "poll" a watcher instead of waiting for its callback to be invoked, which can be accomplished with this function. 인수이 함수는 인수가 없습니다. 반환값
In case if the watcher is pending, returns
revents
bitset as if the
watcher callback
had been invoked. Otherwise returns
|