[Openmp-commits] [openmp] [OpenMP] Rename worker threads for improved debuggability (PR #102065)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Aug 6 13:37:30 PDT 2024
================
@@ -878,6 +878,15 @@ void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) {
KMP_SYSFAIL("pthread_create", status);
}
+#ifdef _GNU_SOURCE
----------------
WenleiHe wrote:
Is it a convention to check _GNU_SOURCE before __GLIBC__? Feels a bit unnecessary..
Also wondering if there is a more portable way of doing this.
https://github.com/llvm/llvm-project/pull/102065
More information about the Openmp-commits
mailing list