diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-09-04 07:16:49 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-09-04 07:16:49 +0000 |
commit | f99970bd52104537bed20ed7c7211f90899a27ca (patch) | |
tree | 12a6d3c6187c69b2eec1df81c65863f83111227f /cpp/src/IceGrid/SessionI.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1331 (diff) | |
download | ice-f99970bd52104537bed20ed7c7211f90899a27ca.tar.bz2 ice-f99970bd52104537bed20ed7c7211f90899a27ca.tar.xz ice-f99970bd52104537bed20ed7c7211f90899a27ca.zip |
replaced two reaper threads with one.
Diffstat (limited to 'cpp/src/IceGrid/SessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/SessionI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/SessionI.cpp b/cpp/src/IceGrid/SessionI.cpp index 5cb8d3b42f2..ef98e6d93ee 100644 --- a/cpp/src/IceGrid/SessionI.cpp +++ b/cpp/src/IceGrid/SessionI.cpp @@ -335,11 +335,11 @@ SessionI::removeAllocation(const AllocatablePtr& allocatable) ClientSessionFactory::ClientSessionFactory(const Ice::ObjectAdapterPtr& adapter, const DatabasePtr& database, const WaitQueuePtr& waitQueue, - const ReapThreadPtr& reapThread) : + const ReapThreadPtr& reaper) : _adapter(adapter), _database(database), _waitQueue(waitQueue), - _reapThread(reapThread) + _reaper(reaper) { } @@ -374,7 +374,7 @@ ClientSessionFactory::createGlacier2Session(const string& sessionId, const Glaci } } - _reapThread->add(new SessionReapable(_adapter, session, s->ice_getIdentity()), ctl->getSessionTimeout()); + _reaper->add(new SessionReapable(_adapter, session, s->ice_getIdentity()), ctl->getSessionTimeout()); return s; } |