[GiNaC-list] is ginac thread safe for this case?
Alexei Sheplyakov
alexei.sheplyakov at gmail.com
Mon Jun 14 07:12:08 CEST 2010
Hello,
On Sun, Jun 13, 2010 at 03:44:13PM -0400, Cristobal Navarro wrote:
> i would to clear a little!
>
> the expressions are independant from each thread,
>
> exp1 = x*y+....
>
> exp2 = x+x+x+x...
>
> exp3 = y+y*y+3...
> ..
> ..
> expn = just_symbols..
>
> no subexpressions never.
You can't know that for sure. Expression sharing is completely transparent
for the user, it might be a side effect of some computation (i.e. calculating
the derivative of a product, comparing two expressions, etc).
Best regards,
Alexei
More information about the GiNaC-list
mailing list