| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
The EvLoop class(PECL ev >= 0.2.0) はじめにRepresents an event loop that is always distinct from the default loop . Unlike the default loop , it cannot handle EvChild watchers. Having threads we have to create a loop per thread, and use the default loop in the parent thread. The default event loop is initialized automatically by Ev . It is accessible via methods of the Ev class, or via EvLoop::defaultLoop() method. クラス概要
final
EvLoop
{
/* プロパティ */
public
$data
;
public
$backend
;
public
$is_default_loop
;
public
$iteration
;
public
$pending
;
public
$io_interval
;
public
$timeout_interval
;
public
$depth
;
/* メソッド */
final
public
EvChild
child
(
string
$pid
,
string
$trace
,
string
$callback
[,
string
$data
[,
string
$priority
]] )
public
__construct
([
int
$flags
[,
mixed
$data
= NULL
[,
double
$io_interval
= 0.0
[,
double
$timeout_interval
= 0.0
]]]] )
public
static
EvLoop
defaultLoop
([
int
$flags
= Ev::FLAG_AUTO
[,
mixed
$data
= NULL
[,
double
$io_interval
= 0.
[,
double
$timeout_interval
= 0.
]]]] )
final
public
EvEmbed
embed
(
string
$other
[,
string
$callback
[,
string
$data
[,
string
$priority
]]] )
final
public
EvIo
io
(
mixed
$fd
,
int
$events
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )
final
public
EvPeriodic
periodic
(
double
$offset
,
double
$interval
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )
final
public
EvSignal
signal
(
int
$signum
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )
final
public
EvStat
stat
(
string
}$path
,
double
$interval
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )プロパティ
目次
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「The EvLoop class」をGoogle検索
|