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 -2
View File
@@ -37,8 +37,8 @@
#include "smsdk_ext.h"
#include "am-vector.h"
#include <am-thread-utils.h>
#include <am-refcounting.h>
#include <mutex>
char * UTIL_strncpy(char * destination, const char * source, size_t num);
@@ -159,7 +159,7 @@ public:
private:
ke::Vector<TQueryOp *> cachedQueries;
ke::Mutex queryLock;
std::mutex queryLock;
IdentityToken_t *identity;
};