Replace all uses of AMTL threads with STL threads.

This also rewrites the work loop for threaded queries. It has been
simplified significantly.
This commit is contained in:
David Anderson
2020-05-16 22:35:56 -07:00
parent 15023777f4
commit a253e175bb
16 changed files with 84 additions and 98 deletions
+2 -6
View File
@@ -64,17 +64,13 @@ const char *SqDatabase::GetError(int *errorCode/* =NULL */)
bool SqDatabase::LockForFullAtomicOperation()
{
if (!m_FullLock)
m_FullLock = new ke::Mutex();
m_FullLock->Lock();
m_FullLock.lock();
return true;
}
void SqDatabase::UnlockFromFullAtomicOperation()
{
if (m_FullLock)
m_FullLock->Unlock();
m_FullLock.unlock();
}
IDBDriver *SqDatabase::GetDriver()