Re: Using gtk_timeout_add with very short timeperiods (45 ms)
- From: Erik Forsberg <forsberg lysator liu se>
- To: Paul Barton-Davis <pbd op net>
- Cc: gtk-list gnome org
- Subject: Re: Using gtk_timeout_add with very short timeperiods (45 ms)
- Date: Tue, 6 Jun 2000 07:39:21 +0200 (CEST)
>default unix system timer resolution is limited by the timer interrupt
>frequency set by the kernel. On a conventional Linux box, that
>defaults to 10ms. So, first of all, you will never get good results
>unless your period is a multiple of 10ms.
>
[ ... ]
This sounds like a good explanation to my problems. I'll go for some
threading, which will probably solve the problems. I really can't rely
on my users having a late kernel version.
Thanks!
\EF
--
Erik Forsberg http://www.lysator.liu.se/~forsberg/
PGP fingerprint = 37 1B D7 9E 97 8C EF 39 0E DE 08 E8 99 0C 5E A9
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]