Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 183706 программистов и 3243 робота. Сейчас ищут 2610 программистов ...
event_buffer_watermark_set - Set the watermarks for read and write events
Вернуться к: Libevent Функции
event_buffer_watermark_set
(PECL libevent >= 0.0.1)
event_buffer_watermark_set — Set the watermarks for read and write events
Описание
void event_buffer_watermark_set
( resource
$bevent
, int $events
, int $lowmark
, int $highmark
)
Sets the watermarks for read and write events. Libevent does not invoke
read callback unless there is at least lowmark bytes
in the input buffer; if the read buffer is beyond the highmark,
reading is stopped. On output, the write callback is invoked whenever the
buffered data falls below the lowmark.
Список параметров
-
bevent -
Valid buffered event resource.
-
events -
Any combination of
EV_READandEV_WRITE. -
lowmark -
Low watermark.
-
highmark -
High watermark.
Вернуться к: Libevent Функции