projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c8baf
)
[OpenMP] Reset affinity mask in the process child on FreeBSD
author
David Carlier
<devnexen@gmail.com>
Wed, 30 Oct 2019 14:51:22 +0000
(14:51 +0000)
committer
David Carlier
<devnexen@gmail.com>
Wed, 30 Oct 2019 14:51:22 +0000
(14:51 +0000)
Reviewers: dim, chandlerc, jdoerfert
Reviewed By: dim
Differential Revision: https://reviews.llvm.org/D69047
openmp/runtime/src/z_Linux_util.cpp
patch
|
blob
|
history
diff --git
a/openmp/runtime/src/z_Linux_util.cpp
b/openmp/runtime/src/z_Linux_util.cpp
index
9f79a61
..
1cc41fd
100644
(file)
--- a/
openmp/runtime/src/z_Linux_util.cpp
+++ b/
openmp/runtime/src/z_Linux_util.cpp
@@
-1287,7
+1287,7
@@
static void __kmp_atfork_child(void) {
++__kmp_fork_count;
#if KMP_AFFINITY_SUPPORTED
-#if KMP_OS_LINUX
+#if KMP_OS_LINUX
|| KMP_OS_FREEBSD
// reset the affinity in the child to the initial thread
// affinity in the parent
kmp_set_thread_affinity_mask_initial();