Re: A timeout with microsecond precision?
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: ywhu iii org tw
- Cc: gtk-app-devel-list gnome org
- Subject: Re: A timeout with microsecond precision?
- Date: Wed, 14 Apr 2004 18:23:25 +0300
Yueh-Wei Hu wrote:
You can't do this with timeouts. If you run your code on PC with linux
kernel, read about real-time clock ("<path to kernel
source>/Documentation/rtc.txt"), but you'll get no more than 8192
interrupts per second.
I noticed that g_timeout_add() using an argument with millisecond
However, I want to specify an callback function to be called every 30
Does glib offer this facility?
Or how could I achieve this in gtk?
I think that this cant be done from userspace on linux or windows system.
I also noticed that Qt offers its timer with microsecond precision. Why
does glib offer one with millisecond precision?
Thats more than enough...
] [Thread Prev