comp.std.c++ is the wrong place to post for this kind of thing,
since Lock is not Standard C++.
You are better off posting to some place like
comp.lang.c++.moderated
or a forum that is specific to Sun Forte C++.
If I recall, Sun Forte comes with libraries from RogueWave
including Tools.h++ and RogueWave's implementation of STL.
Does it look the the problems you are encountering are due to any of the
classes mentioned in RogueWave's synchronization library?
http://www.roguewave.com/support/doc...dsref/2-7.html
I'm not sure if RogueWave's STL implementation uses Tools.h++ for
thread synchronization.
If you look around the header files that come with your compiler,
that might yield some clues.