28 Dec
2008
28 Dec
'08
2:47 p.m.
Ok, I realised that this is behavior "by design", and that I should use recursive_mutex.
I encountered strange situation (1.37, VC9SP1, WinXPSP3):
boost::mutex m; boost::mutex::scoped_lock lock(m); boost::mutex::scoped_lock lock(m); // this one locks the thread
Is this correct behavior or a bug?
Thanks.