On Fri, Jun 03, 2011 at 10:56:42AM +0400, Alexey Borzenkov <[email protected]> 
wrote:
> Yes, thank you. It works as expected. On the other hand since libev
> provides ev_sleep as part of its API I think the check of delay being
> too small (or using ceil instead of relying on default runtime
> settings) should go there. :)

More concern is that the backend doesn't really know how ev_sleep works,
so the actual change in CVS calls Sleep() directly, to avoid that problem.

OTOH, when the io collect interval is nonzero, then we rely on sleep
having a compatible resolution. I'll have a look into this.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to