Sunday, June 28, 2009

multi-threading std::map issue

class tagtree
{
...
public:
std::map mapControllee;
};

** working code **

tagtree *tt;
tagtree *ttController;
tt = AddNode(...);
ttController = tt;
tt = AddNode(...);
ttController->mapControlle[strName] = tt; <- crash in compare down to _tcmp lpsz 0xcdcdcdcd

http://www.dinkumware.com/vc_fixes.html[^]

No comments:

Post a Comment