On Tue, 2007-04-24 at 00:42 +0200, Norbert Bauer wrote: > Hello Fernando, > > thanks for your help. > >> which is the precision you need? > About one millisecond would be great and absolutely satisfying. > > >> You can use Sleep function included from Windows.h > A thread + the Sleep function really works that exact? > > >> You can also use timers from other > >> libraries like allegro. > I don't know allegro. I'll search it and find out...
if you truly need high resolution timing for a periodic (or semi-periodic) process, then you should *not* integrate this into your main GUI event loop. there is no upper bound on how long GUI event handling code could delay handling the timer. if it matters that much, you should use a separate thread to deal with the high resolution timer. _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
