RE: Possible to use multiple Slots

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Wed, 14 Dec 2011 13:28:39 +0000


Hi Georg,

Well, I think Long_t follows the architecture (32bit/64bit)... I only tried on 32bit, and it works And did you try with size_t? (it works also on 32bit)

Cheers, Bertrand.

-----Original Message-----
From: Georg Troska [mailto:georg.troska_at_uni-dortmund.de] Sent: 14 December 2011 14:10
To: Bertrand Bellenot
Cc: roottalk_at_lxroot01.cern.ch; Stephan von Kleist Subject: Re: [ROOT] Possible to use multiple Slots

Hi Bertand,

worked! Great. Thank you very much

I'm a bit afraid that the cast of a pointer into a Long_t depends on the system. The pointer might be either 32 bit or 64 bit long. I tried if it worked with a size_t, which is, as far as I understand made for thinks like this (It is 32bit long on a 32bit system, and 64bit on a 64bit system). This works too, but why isn't there Emit-method for a size_t?

I do not have a chance here to test it on 32 bit. Do I need to worry?

Georg

Am 13.12.2011 um 09:31 schrieb Bertrand Bellenot:

> Hi Georg,
>
> Could you try to replace:
> EmitVA("sendData(Data*)",1,d);
> By:
> Emit("sendData(Data*)",(Long_t)d);
>
> And try again? (this works fine for me)
>
> Cheers, Bertrand.
>
> -----Original Message-----
> From: Georg Troska [mailto:georg.troska_at_uni-dortmund.de]
> Sent: 12 December 2011 17:07
> To: Bertrand Bellenot
> Cc: roottalk_at_lxroot01.cern.ch; Stephan von Kleist
> Subject: Re: [ROOT] Possible to use multiple Slots
>
> Hello Betrand,
>
> thank you very much for your responds. I was able to create a simple script, showing the error:
>
Received on Wed Dec 14 2011 - 14:28:44 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 14 2011 - 17:50:02 CET