Re: Posix-Threads in root

From: Georg Troska <georg.troska_at_uni-dortmund.de>
Date: Thu, 13 Oct 2011 17:27:00 +0200


Hi Philippe,

I found these lines in TAtomicCount.h

#elif defined(R__HAS_PTHREAD) && !defined(__CINT__) #include "TAtomicCountPthread.h"

might it be that R__HAS_PTHREAD is not defined? Do I have to enable it somehow during configure?

Georg

Am 13.10.2011 um 00:30 schrieb Philippe Canal:

> Hi Georg,
>
> Which version of ROOT are you using? What do you mean by not finding the symbols?
> In the trunk we have at least one example (TAtomicCountPthread.h) that includes pthreads.h
> and is passed through rootcint successfully.
>
> Cheers,
> Philippe.
>
> On 10/12/11 6:12 AM, Georg Troska wrote:

>> Hi,
>> 
>> im trying to use pthreads (not TThread) in root. Comiling seems to work, but rootcint does not run through. He doesn't find the symbols
>> 
>> Do I have to set some special pragmas or something?
>> 
>> Georg
Received on Thu Oct 13 2011 - 17:27:08 CEST

This archive was generated by hypermail 2.2.0 : Thu Oct 13 2011 - 23:50:01 CEST