valgrind stuff

Marc Lehmann schmorp at schmorp.de
Thu Apr 10 00:30:58 CEST 2008


On Wed, Apr 09, 2008 at 04:40:23PM -0500, Brandon Black <blblack at gmail.com> wrote:
> Here's an interesting thread from another list regarding this exact same 
> problem:
> 
> http://lists.freedesktop.org/archives/dbus/2006-September/005724.html
> 
> I'm still a little hazy on what the "right" answer is here, as I'm not a 
>  poll() expert, but something like this may be the answer:

poll() is required to clear the revents field.

however, if any real-world systems don't do that on timeout, I'd be happy to
include a workaround, the cost would be negligible.

(in fact, I might add it in any case, but please, could somebody find out a
bit more evidence? thanks :)

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list