I have one std::list<> container and these threads:
One writer thread which adds elements indefinitely.
One reader/writer thread which re
The STL in VC++ version 6 is not thread-safe, see this recent question. So it seems your question is a bit irrelevant. Even if you did everything right, you may still have problems.