Re: TRandom crtashes pthread

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Sat Oct 30 1999 - 22:29:55 MEST


Do you call it in several threads simultaneously?
Only in this case some problems is possible in very rare cases.
But even then, it is hard to explain "segmentation fault"
Victor

KOSU_FOKIN@garbo.lucas.lu.se wrote:
> 
> Hi rooters.
> 
> Please note, that TRandom crashes if you call it in a pthread.I tryed to
> run ::Gaus() and it causes segmentation fault. Note that there are two
> versions of random number generators under unix and one is developed to
> be thread safe. I think it might be useful to have the same in root.
> 
> Best,
> Anton

-- 
Victor M. Perevoztchikov   perev@bnl.gov  perev@vxcern.cern.ch       
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 516-344-7894; fax 516-344-4206; home 516-345-2690



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET