tag:blogger.com,1999:blog-8988177719810230455.post7137382978493220764..comments2023-10-26T03:41:08.060-07:00Comments on Developer Resource: Boost scoped lockUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8988177719810230455.post-63039952296095261542010-12-14T21:28:53.124-08:002010-12-14T21:28:53.124-08:00Your rightYour rightdeveloper-resourcehttps://www.blogger.com/profile/04594146437846985122noreply@blogger.comtag:blogger.com,1999:blog-8988177719810230455.post-9949658065416311432009-04-29T14:12:00.000-07:002009-04-29T14:12:00.000-07:00unlock will be called just after lock, because the...unlock will be called just after lock, because the scope of temporarily variable is finished in the same point it was created. To correct work it should be "boost::mutex::scoped_lock <B>lock</B>(m_mutex);"Anonymousnoreply@blogger.com