Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 155974 | Differences between
and this patch

Collapse All | Expand All

(-)src4.1.4.old/MED_SRC_4.1.4/src/MEDWrapper/Base/MED_Wrapper.cxx (-2 / +2 lines)
Lines 40-46 Link Here
40
  ::TLockProxy(TWrapper* theWrapper):
40
  ::TLockProxy(TWrapper* theWrapper):
41
    myWrapper(theWrapper)
41
    myWrapper(theWrapper)
42
  {
42
  {
43
    boost::detail::thread::lock_ops<TWrapper::TMutex>::lock(myWrapper->myMutex);
43
    myWrapper->myMutex.lock();
44
    INITMSG(MYDEBUG,"TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<std::endl);
44
    INITMSG(MYDEBUG,"TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<std::endl);
45
  }
45
  }
46
  
46
  
Lines 48-54 Link Here
48
  ::~TLockProxy()
48
  ::~TLockProxy()
49
  {
49
  {
50
    INITMSG(MYDEBUG,"~TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<std::endl);
50
    INITMSG(MYDEBUG,"~TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<std::endl);
51
    boost::detail::thread::lock_ops<TWrapper::TMutex>::unlock(myWrapper->myMutex);
51
    myWrapper->myMutex.unlock();
52
  }
52
  }
53
  
53
  
54
  TWrapper*
54
  TWrapper*

Return to bug 155974