Re: [ROOT] Windows Graphics/GUI - RE: More on Graphics abstraction (was Re: [ROOT] Qt ROOT)

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sun Oct 28 2001 - 15:46:39 MET


Hi Valery,


On Saturday 27 October 2001 22:55, Valeri Fine wrote:
>
>  There is no such problem like supporting "Windows". There is the problem
> of providing the cross platform applications.
> Try to replace the words "Windows", "MicroSoft" and "crossplatform " above
> with
>    "Linux" ,  "UNIX"  "Windows"
>    "MAC",   "Apple"  "Linux"
>    "VMS" ,  "Digital"  "UNIX"
> etc. Have a fun.
>
The main issue with cross-platform GUIs is between Win32 and X11
(and MacOS <10), not between UNIX, VMS, Linux, Digital, etc.

>
> For exampple it was proved many time the Windows application like ROOT must
> be multi-threaded.
> Of course such constrain doesn't make the application desing more simple
> and cheap.
>
> From the Fons's reply I understood the coming Win32 version of ROOT will be
> single-thread.
> Does this mean the author of the new Win32 layer thinks one may neglect the
> multi-thread issue ?
>
You misunderstood. Bertrand's implementation runs very well in a single thread
but without connection to the DOS box. For the DOS box he needs to use 
a thread. The issue is that Win32 does not have a function like POSIX's
select() which allows one to monitor activity on different input streams.
Therefore one needs at least a thread to monitor the DOS box for input.

> What about ROOT GUI layer vs Qt (or another toolkit). Event though  I did
> rate the Qt v.3 as
> a great toolkit that can be used by ROOT project that was said about
> version 3. THat was released
> three weeks ago. Of course 7 years ago when the current ROOT GUI (TVirtualX
> class)  was designed
> there was nothing like Qt v.3 around.
>
Valery, since Qt claims to be cross platform how do you think they hide the
thread issue? Or, even with Qt, does there remain the DOS box communication
thread issue? Maybe you could find some time to investigate that. This would
be of great help.

Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET