Lines 23-29
Link Here
|
23 |
::TLockProxy(TWrapper* theWrapper): |
23 |
::TLockProxy(TWrapper* theWrapper): |
24 |
myWrapper(theWrapper) |
24 |
myWrapper(theWrapper) |
25 |
{ |
25 |
{ |
26 |
boost::detail::thread::lock_ops<TWrapper::TMutex>::lock(myWrapper->myMutex); |
26 |
myWrapper->myMutex.lock(); |
27 |
INITMSG(MYDEBUG,"TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<endl); |
27 |
INITMSG(MYDEBUG,"TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<endl); |
28 |
} |
28 |
} |
29 |
|
29 |
|
Lines 31-37
Link Here
|
31 |
::~TLockProxy() |
31 |
::~TLockProxy() |
32 |
{ |
32 |
{ |
33 |
INITMSG(MYDEBUG,"~TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<endl); |
33 |
INITMSG(MYDEBUG,"~TLockProxy() - this -"<<this<<"; myWrapper = "<<myWrapper<<endl); |
34 |
boost::detail::thread::lock_ops<TWrapper::TMutex>::unlock(myWrapper->myMutex); |
34 |
myWrapper->myMutex.unlock(); |
35 |
} |
35 |
} |
36 |
|
36 |
|
37 |
TWrapper* |
37 |
TWrapper* |