diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-07 15:25:30 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-07 15:25:30 -0230 |
commit | 370dc0863d9d68cec1eee465c16248b845ebb45c (patch) | |
tree | 61b45a55b73c6b4b7392d0f2bf82c53db1ce7690 /cpp/src/Ice/LocatorInfo.h | |
parent | Add -rdynamic linker flag (diff) | |
download | ice-370dc0863d9d68cec1eee465c16248b845ebb45c.tar.bz2 ice-370dc0863d9d68cec1eee465c16248b845ebb45c.tar.xz ice-370dc0863d9d68cec1eee465c16248b845ebb45c.zip |
Bug 3966 - deadlock in LocatorInfo
Diffstat (limited to 'cpp/src/Ice/LocatorInfo.h')
-rw-r--r-- | cpp/src/Ice/LocatorInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/LocatorInfo.h b/cpp/src/Ice/LocatorInfo.h index 2d44d050a4a..cfc8e2c22ba 100644 --- a/cpp/src/Ice/LocatorInfo.h +++ b/cpp/src/Ice/LocatorInfo.h @@ -73,7 +73,7 @@ private: std::map<Ice::Identity, std::pair<IceUtil::Time, ReferencePtr> > _objectMap; }; -class LocatorInfo : public IceUtil::Shared, public IceUtil::Mutex +class LocatorInfo : public IceUtil::Shared, public IceUtil::Monitor<IceUtil::Mutex> { public: @@ -175,6 +175,7 @@ private: Ice::LocatorRegistryPrx _locatorRegistry; const LocatorTablePtr _table; const bool _background; + bool _waitForRegistry; std::map<std::string, RequestPtr> _adapterRequests; std::map<Ice::Identity, RequestPtr> _objectRequests; |