[SimGrid-user] Rép : Re: Dynar issues

Martin Quinson martin.quinson at loria.fr
Wed Feb 13 09:08:27 CET 2013

On Wed, Feb 13, 2013 at 07:56:49AM +0000, Christophe ENDERLIN wrote:
> Le 13 fév 2013 à 00:15, Arnaud Giersch <arnaud.giersch at iut-bm.univ-fcomte.fr> a écrit :
> >In the former, you are comparing the objects the pointers point to,
> >while in the latter, you are comparing the pointer values (i.e. the
> >memory addresses).
> But then, what's the use of that function (xbt_dynar_search) ? Can't it be used to compare objects ?

Some people store scalar in the dynars, in which case this function is
perfectly adapted.

Bye, Mt.

alvin: mais ça, au moins dans ma tête, c'est à peu près clair
frs69wq: bah t'enverra ta tête aux relecteurs alors...

More information about the Simgrid-user mailing list