Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
549631a3
Commit
549631a3
authored
Sep 03, 2020
by
Martin Reinecke
Browse files
Merge branch 'fix_namespaces' into 'ducc0'
add missing headers and std:: See merge request
!40
parents
3eb08f04
174bdac7
Pipeline
#81502
passed with stages
in 17 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ducc0/infra/threading.cc
View file @
549631a3
...
...
@@ -29,6 +29,7 @@
#include <queue>
#include <atomic>
#include <vector>
#include <exception>
#if __has_include(<pthread.h>)
#include <pthread.h>
#endif
...
...
@@ -400,7 +401,7 @@ void Distribution::thread_map(std::function<void(Scheduler &)> f)
}
counter
.
wait
();
if
(
ex
)
rethrow_exception
(
ex
);
std
::
rethrow_exception
(
ex
);
}
void
execSingle
(
size_t
nwork
,
std
::
function
<
void
(
Scheduler
&
)
>
func
)
...
...
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