Cleanup jthread and fix win32 build
This commit is contained in:
@@ -83,8 +83,6 @@ class MutexedMap
|
||||
public:
|
||||
MutexedMap()
|
||||
{
|
||||
m_mutex.Init();
|
||||
assert(m_mutex.IsInitialized());
|
||||
}
|
||||
|
||||
void set(const Key &name, const Value &value)
|
||||
@@ -150,8 +148,6 @@ class MutexedIdGenerator
|
||||
public:
|
||||
MutexedIdGenerator()
|
||||
{
|
||||
m_mutex.Init();
|
||||
assert(m_mutex.IsInitialized());
|
||||
}
|
||||
|
||||
// Returns true if found
|
||||
@@ -253,7 +249,6 @@ class MutexedQueue
|
||||
public:
|
||||
MutexedQueue()
|
||||
{
|
||||
m_mutex.Init();
|
||||
}
|
||||
bool empty()
|
||||
{
|
||||
|
||||
@@ -32,7 +32,6 @@ class MutexedVariable
|
||||
MutexedVariable(T value):
|
||||
m_value(value)
|
||||
{
|
||||
m_mutex.Init();
|
||||
}
|
||||
|
||||
T get()
|
||||
@@ -75,7 +74,6 @@ class SimpleThread : public JThread
|
||||
JThread(),
|
||||
run(true)
|
||||
{
|
||||
run_mutex.Init();
|
||||
}
|
||||
|
||||
virtual ~SimpleThread()
|
||||
|
||||
Reference in New Issue
Block a user