Commit 46101afb authored by Kevin Modzelewski's avatar Kevin Modzelewski

I have no idea how/where this could get out of sync

parent dcfba665
......@@ -280,6 +280,14 @@ public:
map[pthread_self()] = s;
ASSERT(this->map.size() == this->map_elts, "%ld %d", this->map.size(), this->map_elts);
}
#ifndef NDEBUG
{
LOCK_REGION(&lock);
ASSERT(this->map.size() == this->map_elts, "%ld %d", this->map.size(), this->map_elts);
}
#endif
return &s->val;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment