downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

event_buffer_write> <event_buffer_timeout_set
Last updated: Fri, 20 Nov 2009

view this page in

event_buffer_watermark_set

(PECL libevent >= 0.0.1)

event_buffer_watermark_setSet the watermarks for read and write events

Descrierea

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 .

Parametri

bevent

Valid buffered event resource.

events

Any combination of EV_READ and EV_WRITE.

lowmark

Low watermark.

highmark

High watermark.



add a note add a note User Contributed Notes
event_buffer_watermark_set
There are no user contributed notes for this page.

event_buffer_write> <event_buffer_timeout_set
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites