I have one std::list<> container and these threads:
One writer thread which adds elements indefinitely.
One reader/writer thread which re
Yes. I would suggest wrapping your STL library with a class that enforces serial access. Or find a similar class that's already been debugged.