boost::mutex the_lock;
boost::lock_guard<boost::mutex> lock(the_lock);
...do stuff....
Michael PowellHello,However, compiler is asking for a lock or unlock. I don't know what this is, or what it should be.
The pattern goes something like this: boost::lock_guard<mytype> guard(*this).
Thank you...Regards,
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users