>
> 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