Ev::depth
(PECL ev >= 0.2.0)
Ev::depth — Returns recursion depth
Описание
final
public
static
int
Ev::depth
( void
)
The number of times
Ev::run()
was entered minus the number of times
Ev::run()
was exited normally, in other words, the recursion depth. Outside
Ev::run()
, this number is
0
. In a callback, this number is
1
, unless
Ev::run()
was invoked recursively (or from another thread), in which case it is
higher.
Список параметров
У этой функции нет параметров.
Возвращаемые значения
ev_depth() returns recursion depth of the default loop.
Смотрите также
- Ev::iteration() - Return the number of times the default event loop has polled for new events.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для управления процессами программ
- Ev
- Функция Ev::backend() - Returns an integer describing the backend used by libev.
- Функция Ev::depth() - Returns recursion depth
- Функция Ev::embeddableBackends() - Returns the set of backends that are embeddable in other event loops.
- Функция Ev::feedSignal() - Feed a signal event info Ev
- Функция Ev::feedSignalEvent() - Feed signal event into the default loop
- Ev::iteration
- Ev::now
- Ev::nowUpdate
- Ev::recommendedBackends
- Функция Ev::resume() - Resume previously suspended default event loop
- Ev::run
- Функция Ev::sleep() - Block the process for the given number of seconds.
- Функция Ev::stop() - Stops the default event loop
- Ev::supportedBackends
- Функция Ev::suspend() - Suspend the default event loop
- Функция Ev::time() - Returns the current time in fractional seconds since the epoch.
- Функция Ev::verify() - Performs internal consistency checks(for debugging)
Коментарии
404 Not Found