diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
commit | 3f862089b748741b30e343d2051a4747a3bff2f2 (patch) | |
tree | 18d1dde1504e2d510a24f4d55aeee21bfea7c04f /cpp/demo/Freeze/library/LibraryI.cpp | |
parent | fixing bug 1291 (diff) | |
download | ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.bz2 ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.xz ice-3f862089b748741b30e343d2051a4747a3bff2f2.zip |
Borland C++Builder port mass commit
Diffstat (limited to 'cpp/demo/Freeze/library/LibraryI.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/LibraryI.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/demo/Freeze/library/LibraryI.cpp b/cpp/demo/Freeze/library/LibraryI.cpp index b9912a4789c..41798b53513 100644 --- a/cpp/demo/Freeze/library/LibraryI.cpp +++ b/cpp/demo/Freeze/library/LibraryI.cpp @@ -21,7 +21,7 @@ BookI::BookI(const LibraryIPtr& library) : void BookI::destroy(const Ice::Current&) { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); if(_destroyed) { throw Ice::ObjectNotExistException(__FILE__, __LINE__); @@ -43,7 +43,7 @@ BookI::destroy(const Ice::Current&) Demo::BookDescription BookI::getBookDescription(const Ice::Current&) const { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); if(_destroyed) { @@ -59,7 +59,7 @@ BookI::getBookDescription(const Ice::Current&) const string BookI::getRenterName(const Ice::Current&) const { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); if(_destroyed) { @@ -76,7 +76,7 @@ BookI::getRenterName(const Ice::Current&) const void BookI::rentBook(const string& name, const Ice::Current&) { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); if(_destroyed) { @@ -93,7 +93,7 @@ BookI::rentBook(const string& name, const Ice::Current&) void BookI::returnBook(const Ice::Current&) { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); if(_destroyed) { @@ -155,7 +155,7 @@ LibraryI::LibraryI(const Ice::CommunicatorPtr& communicator, Demo::BookPrx LibraryI::createBook(const Demo::BookDescription& description, const Ice::Current& c) { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); #if defined(__SUNPRO_CC) // @@ -240,7 +240,7 @@ LibraryI::findByIsbn(const string& isbn, const Ice::Current& c) const Demo::BookPrxSeq LibraryI::findByAuthors(const string& authors, const Ice::Current& c) const { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); // // Lookup all books that match the given authors, and return them @@ -277,7 +277,7 @@ LibraryI::shutdown(const Ice::Current& current) void LibraryI::remove(const BookDescription& description) { - Lock lock(*this); + IceUtil::Mutex::Lock lock(*this); // // Note: no need to catch and retry on deadlock since all access to |