Re: TObject and pthread

From: Pierre-Luc Drouin <pldrouin_at_physics.carleton.ca>
Date: Wed, 19 Aug 2009 13:50:12 -0400


Hi,

I am currently using pthread... Should it work if I disabled TObjectTable using the preprocessing macro R__NOSTATS?

Thanks!

Philippe Canal wrote:
> Hi Pierrer-Luc,
>
> Did you create just a pthread or did you use TThread (the later is
> necessary for ROOT to know that it should be
> in 'multi-thread' mode)?
>
> Cheers,
> Philippe
>
> Pierre-Luc Drouin wrote:
>> Is that possible that the class TObject is not compatible with
>> multi-threading (pthread)? When I create and delete instances of my
>> own classes that are derived from TObject, I get warning about
>> missing objects in TObjectTable. I never get such warnings with a
>> single thread... Is there a workaround this?
>>
>> Thanks!
>> Pierre-Luc Drouin
>>
>>
Received on Wed Aug 19 2009 - 19:50:07 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 19 2009 - 23:50:02 CEST