[Libevent-users] tmux 1.2 crashing with irssi...

2010-08-29 Thread Martti Kühne
hello list after some debugging and bisecting the new tmux version I have found the source for my annoying problems with irssi, which does updating *very* incorrectly since tmux switched to libevent. When pressing ctrl+l(L) to update the terminal (urxvt-unicode-256color 180×66) irssi goes almost b

Re: [Libevent-users] Dynamic changes of read water mark

2010-08-29 Thread Han Liu
Yes I do think so. I'm using this feature on a chat proxy server. Sent from my iPad On Aug 29, 2010, at 11:08 PM, "Gilad Benjamini" wrote: > My eventloop needs to go through this cycle > - Read 16 bytes off the network > - The 16 bytes contain a length parameter > - Read additional "lengt

Re: [Libevent-users] loopbreak vs. loopexit

2010-08-29 Thread Scott Lamb
On Fri, Aug 27, 2010 at 10:54 AM, Gilad Benjamini wrote: > > I read the documentation on loopbreak and loopexit in both > http://www.wangafu.net/~nickm/libevent-book/ and the header file and I still > don't fully understand the details. > > "vent_base_loopbreak ... differs from event_base_loopexit

[Libevent-users] Dynamic changes of read water mark

2010-08-29 Thread Gilad Benjamini
My eventloop needs to go through this cycle - Read 16 bytes off the network - The 16 bytes contain a length parameter - Read additional "length" bytes from the network. It seems that this can be done with a buffered event which keeps changing the read low watermark (twice per message). Is