Move template parameter in Thread to a more logical scope location.

This commit is contained in:
Adam Ierymenko 2013-08-08 09:19:36 -04:00
parent 20f8668c28
commit 8a46452a70
10 changed files with 20 additions and 21 deletions

View file

@ -54,7 +54,7 @@ Topology::Topology(const RuntimeEnvironment *renv,const char *dbpath)
Utils::lockDownFile(dbpath,false); // node.db caches secrets
_thread = Thread<Topology>::start(this);
_thread = Thread::start(this);
}
Topology::~Topology()
@ -67,7 +67,7 @@ Topology::~Topology()
_peerDeepVerifyJobs.back().type = _PeerDeepVerifyJob::EXIT_THREAD;
}
_peerDeepVerifyJobs_c.signal();
Thread<Topology>::join(_thread);
Thread::join(_thread);
KISSDB_close(&_dbm);
}