Re: [ROOT] sockets, threads, event handlers

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue Feb 05 2002 - 21:52:29 MET


Hi Anton, 

On Tue, 05 Feb 2002 17:37:43 +0100
Anton Fokin <anton.fokin@smartquant.com> wrote
concerning "[ROOT] sockets, threads, event handlers":
> 
> - Threads: do we have threads under NT?

Nope.  Try: 

  root> TClassTree ct; 
  root> ct.ShowLinks("HMCR");
  root> ct.Draw("TThread<")
  root> ct.Draw("TThreadImp<")

[TClassTree is nifty - it'd be even niftier if it could do real UML
diagrams.  Ok, I know the answer to that - you do it! Damn.]

As you see, there's currently only a POSIX thread implementation, and
last time I checked, that wasn't available on Win32, except via
Cygwin. 

Perhaps that something you'd care to contribute?  It doesn't seem like
there's that many people out there hacking on ROOT from a Win32
platform, so perhaps you should go ahead.  

The thread stuff uses a `factory' to make the threads and have some
bookkeeping.  You need to make such a factory for Win32.  

An intresting development on the Windoze platform:  XFree86 is finally
stable for Cygwin (I don't know how long it's been like that), and so,
Windoze users can use Cygwin+XFree86 to run ROOT, thereby getting the
full sheebang or ROOT: GUI, Threads, UNIX sockets, and god knows
what.  Well aware of getting flamed the /. way, I could imagine that
all support for ROOT on Windoze would go via Cygwin+XFree86 - that
would defently easy the maintaince of ROOT.  Ok, I know that's not
going to happen, but it's an intresting thought never the less :-) 

Yours, 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET