PHP Doku:: Set the watermarks for read and write events - function.event-buffer-watermark-set.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzErweiterungen zur ProzesskontrolleLibeventLibevent Funktionenevent_buffer_watermark_set

Ein Service von Reinhard Neidl - Webprogrammierung.

Libevent Funktionen

<<event_buffer_timeout_set

event_buffer_write>>

event_buffer_watermark_set

(PECL libevent >= 0.0.1)

event_buffer_watermark_setSet the watermarks for read and write events

Beschreibung

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.

Parameter-Liste

bevent

Valid buffered event resource.

events

Any combination of EV_READ and EV_WRITE.

lowmark

Low watermark.

highmark

High watermark.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)