[Openmp-commits] [PATCH] D69220: [OpenMP] Enable OpenBSD support

David CARLIER via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 21 05:12:01 PDT 2019


devnexen marked an inline comment as done.
devnexen 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)
----------------
AndreyChurbanov wrote:
> This should break NETBSD because of removed define (probably, unintentionally?).
Yes indeed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69220/new/

https://reviews.llvm.org/D69220





More information about the Openmp-commits mailing list