[Lablgtk] CPU consumption with GtkThread

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


Hello,

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 ?

Regards,

Maxence

-- 
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
http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk




More information about the Lablgtk-list mailing list