summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/RoutingTable.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-02-13 03:17:49 +0000
committerMarc Laukien <marc@zeroc.com>2003-02-13 03:17:49 +0000
commit5cea185197061f3fe9fcd8dc9b951c454236b419 (patch)
tree12b034a9ab4f5d66dfb0c2234f0f621b31f06f39 /cpp/src/Ice/RoutingTable.cpp
parentFixed link to BerkeleyDB download page (diff)
downloadice-5cea185197061f3fe9fcd8dc9b951c454236b419.tar.bz2
ice-5cea185197061f3fe9fcd8dc9b951c454236b419.tar.xz
ice-5cea185197061f3fe9fcd8dc9b951c454236b419.zip
made _locator really immutable
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r--cpp/src/Ice/RoutingTable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp
index 1d89afc5f73..b9ed35d9a92 100644
--- a/cpp/src/Ice/RoutingTable.cpp
+++ b/cpp/src/Ice/RoutingTable.cpp
@@ -30,6 +30,8 @@ IceInternal::RoutingTable::RoutingTable() :
void
IceInternal::RoutingTable::clear()
{
+ IceUtil::Mutex::Lock sync(*this);
+
_table.clear();
_tableHint = _table.end();
}