Hi, I have one TApplication running, an open TCanvas, and although ROOT should just sit and wait for me to click something it's using 100% of CPU time. After using the process viewer (something like xtop for windows) in combination with the debugger I found out that this is caused by one thread, started by my call to TApplication::Run, which then calls TSystem::Run, which in turn produces an avalanche of nested calls, all doing pretty much nothing except for calling empty methods. The problem is that these calls are executed "as fast as possible", as there is no WaitMessage or anything stopping them from running. First of all: Am I the only one with 100% CPU usage? Second: Can somebody do something about this? I've seen there is a gApplication->StartIdleing, StopIdleing call combination, is there a way to "turn them on" (i.e. use timers)? Cheers, Axel.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET