26 Jul
2009
26 Jul
'09
3:23 a.m.
Hi everyone, I just did not find the right member function for it. Can anyone point out the correct function I should use? Thanks. CODE: ----------- boost::try_mutex resourceX; boost::try_mutex::scoped_lock lockX(resourceX); ... if(lockX.locked() == false) // compilation error do sth. ----------- The compiler complains that locked() is not a member function of boost::try_mutex Cheers, Robert