[Lablgtk] CPU consumption with GtkThread

Maxence Guesdon Maxence.Guesdon at inria.fr
Tue Dec 14 08:36:26 CET 2010


When I use GtkThread.main (), my process consumes a lot of CPU. Having a
look at the code of GtkThread.ml, I see a never ending loop, and especially
a never-delaying loop, which I think results in the consumption.

Is it normal ? Isn't there a way to use threads without such a consumption ?



Maxence Guesdon                             http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements         https://sed-roc.inria.fr/
INRIA Paris-Rocquencourt                  http://www.inria.fr/rocquencourt/

Lablgtk mailing list
Lablgtk at yquem.inria.fr

More information about the Lablgtk-list mailing list