Hi Greg, where at startup does ROOT hang? Could you build a debug version and interrupt in the debugger when the system hangs to get a traceback? Also what exactly is the -mt option on Solaris doing? Does it add thread safe version of system libraries? Do you see something special when compiling and linking with the -v option? Could the ET Ring lib work with pthreads, as opposed to the Sun proprietary thread lib? I know ROOT works fine when linked with the pthreads lib. Cheers, Fons. Greg Holden wrote: > > Hello Rooters, > > I have a ROOT program that reads in some information from a file and makes > some histograms. A problem arises when I try to read instead from an "ET > Ring" (a kindof circular event buffer with processes writing and reading > at the same time). The ET ring is a set of libraries that work under > other programs and I mearly call some functions, but these functions > require the use of threads and therefor the -mt (multithread) option to > compile correctly. > > If I use the -mt option on my ROOT code, the program halts when it opens, > and if I do not, then I cannot create the threads. My class that uses > threads does not include any ROOT libraries. I was hoping I could compile > this class with the -mt option and the rest without but this does not seem > to work. I believe I need the -mt option when I link all my object files, > but this is what causes ROOT to halt on startup. > > I am working on a Sun running SunOS 5.6 and using CC version 4.2 and ROOT > v2.21. Does anyone have any suggestions? > > Thanks, > Greg. -- 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 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:16 MET