-
Mirko Stoffers authored
Problem: cDynamicExpression::evaluate was not thread-safe (also noted in the comment), but used by cPar::doubleValue from a threaded context. This caused using par() for random variables to yield wrong results in rare cases. Solution: Made the global variables used by cDynamicExpression::evaluate threadlocal. Conflicts: src/sim/cdynamicexpression.cc
7ff3c017