[Openmp-commits] [PATCH] D69220: [OpenMP] Enable OpenBSD support
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Oct 21 04:53:32 PDT 2019
AndreyChurbanov added inline comments.
================
Comment at: openmp/runtime/src/kmp_wrapper_getpid.h:31
#include <lwp.h>
-#define __kmp_gettid() _lwp_self()
+#elif KMP_OS_OPENBSD
+#define __kmp_gettid() syscall(SYS_getthrid)
----------------
This should break NETBSD because of removed define (probably, unintentionally?).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69220/new/
https://reviews.llvm.org/D69220
More information about the Openmp-commits
mailing list