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* |