Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
c96b0a80
Commit
c96b0a80
authored
May 03, 2015
by
Chris Cantwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Other fixes for Windows.
parent
8b97a7f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
library/LibUtilities/BasicUtils/ThreadBoost.cpp
library/LibUtilities/BasicUtils/ThreadBoost.cpp
+1
-1
library/LibUtilities/BasicUtils/ThreadBoost.h
library/LibUtilities/BasicUtils/ThreadBoost.h
+1
-1
No files found.
library/LibUtilities/BasicUtils/ThreadBoost.cpp
View file @
c96b0a80
...
...
@@ -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
:
...
...
library/LibUtilities/BasicUtils/ThreadBoost.h
View file @
c96b0a80
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment