Re: embedding ROOT

Valery Fine (fine@mail.cern.ch)
Fri, 26 Sep 1997 09:13:25 +0100


On 25 Sep 97 at 23:01, Pasha Murat wrote:

>
> I've been trying to make the code reentrant: after
> the event display routine is executed, all the windows should be
> closed. The example below bombs. I guess that this is happening
> because TCanvas::Close() does much more than just closing the
> window on the screen.

By the way did you try your example under Windows. Under Windows
the event loop is impleneted as a separated thread of the main
application and leaving theApp.Run(kTRUE); doesn mean closing that
thread (anyway I hopt i could be fixed).

But I still think the client/sever model is better (depends of your
real needs of course)

Valery
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine