[GiNaC-list] symtab problem with multithread

Alexei Sheplyakov alexei.sheplyakov at gmail.com
Sat Aug 21 09:02:37 CEST 2010


Hello,

On Fri, Aug 20, 2010 at 08:07:37PM +0200, Kraus Philipp wrote:
 
> I try to use a GiNaC::symtab in a thread object.

Don't do this. GiNaC is not thread safe, therefore one can use it
only in one thread. STL containers (in particular, std::map) are
not thread safe either.

See also this discussion:  
http://www.ginac.de/pipermail/ginac-list/2010-June/001656.html

Best regards,
	Alexei



More information about the GiNaC-list mailing list