Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17985 программистов и 1576 роботов. Сейчас ищут 882 программиста ...
event_add - Add an event to the set of monitored events
Вернуться к: Libevent Функции
event_add
(PECL libevent >= 0.0.1)
event_add — Add an event to the set of monitored events
Описание
event_add() schedules the execution of the event
when the event specified in event_set() occurs or in at least the time
specified by the timeout
argument. If
timeout
was not specified, not timeout is set. The
event
must be already initalized by event_set()
and event_base_set() functions. If the
event
already has a timeout set, it is replaced by
the new one.
Список параметров
-
event
-
Valid event resource.
-
timeout
-
Optional timeout (in microseconds).
Возвращаемые значения
event_add() returns TRUE
on success or FALSE
on error.
Вернуться к: Libevent Функции