On Mon, Feb 18, 2013 at 04:04:24PM +0100, Chris Herssens
<[email protected]> wrote:
> I want to schedule a timer that generates an event every 500ms. Is it
> possible to do that with ev_timer ? Or is the resolution for this kind of
> timers seconds ?
Libev itself supports a resolution of at least one millisecond, but some
operating systems have (much) worse resolution. I think all of them have
enough resolution to make a 500ms timer a no-brainer though, if your
precision requirements are low enough.
Any modern unix or unix clone will usually give you <10ms resolution.
--
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