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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user