rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

makeScope is non-reentrant #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Each version of makeScope uses a static vector to store values in and returns a 
reference to this vector.  This is very dangerous in a multi-threaded 
environment since coinciding calls to makeScope with the same number of 
arguments will clear and add variables to the same vector.  There is a Boost 
library that provides variadic container construction.

Original issue reported on code.google.com by miata...@gmail.com on 26 Feb 2011 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by miata...@gmail.com on 13 Apr 2011 at 3:14