Re: ~100% CPU usage



On Mon, 2002-08-26 at 22:12, Gustavo Giráldez wrote:
> Hi,
> 
> On Mon, 2002-08-26 at 18:49, Jeroen Zwartepoorte wrote:
> > Hi all,
> > 
> > It seems the ~100 CPU usage bug is still here (with the new glue stuff
> > in gnome-build and only the project-manager & document-manager plugins
> > loaded (and the "anjuta2" project loaded)).
> > 
> > Now, i've had this happen several times before and as before i've
> > attached gdb to the process and did a bt. Every time i do this, i get a
> > trace containing anjuta_window_save_layout_to_file in
> > anjuta2/src/window.c. This is run from an idle handler afaik. Could this
> > somehow be causing the large CPU usage?
> 
> I've checked and I had a patch sleeping in my source tree for a long
> time now.  The problem is the idle handler doesn't return a boolean
> value, and thus is never removed from the main loop.  The attached patch
> fixes that.
> 
> May I commit?

Go ahead.

-JP
-- 
--
=======================================================================
JP Rosevear				jpr ximian com
Ximian Inc.				http://www.ximian.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]