Commit c96b0a80 authored by Chris Cantwell's avatar Chris Cantwell

Other fixes for Windows.

parent 8b97a7f4
......@@ -396,7 +396,7 @@ unsigned int ThreadWorkerBoost::GetNumToLoad()
{
case e_guided:
numToLoad = std::max(static_cast<unsigned long>(m_threadManager->m_chunkSize),
m_threadManager->m_masterQueue.size() / (2*m_threadManager->m_numWorkers +1));
static_cast<unsigned long>(m_threadManager->m_masterQueue.size() / (2*m_threadManager->m_numWorkers +1)));
break;
case e_dynamic:
......
......@@ -73,7 +73,7 @@ class ThreadManagerBoost: public ThreadManager
virtual void QueueJob(ThreadJob* job);
virtual unsigned int GetNumWorkers();
virtual unsigned int GetWorkerNum();
virtual void SetNumWorkers(const unsigned int num);
virtual void SetNumWorkers(unsigned int num);
virtual void SetNumWorkers();
virtual unsigned int GetMaxNumWorkers();
virtual void Wait();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment