question on glib main loop
- From: Markus Lausser <sgop users sourceforge net>
- To: gtk-app-devel-list gnome org
- Subject: question on glib main loop
- Date: Thu, 28 Feb 2002 17:20:47 +0100
Hello.
I am trying to figure out why glib does not use 100% CPU
in its main loop, i took a look at the sources, but i couldnt
find the reason. Doesnt it do an endless loop checking
all the sources again and again?
I tried to write my own program that also checks such things
like timeouts, socket read/write-ability (without using glib)
but it uses 100% CPU.
Can anyone explain why glib/gdk/gtk doesnt do that?
Markus.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]