[Openmp-commits] [openmp] [OpenMP] Implements __kmp_is_address_mapped for Solaris/Illumos. (PR #82930)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 26 19:52:47 PST 2024


================
@@ -436,6 +441,8 @@ static kmp_int32 __kmp_set_stack_info(int gtid, kmp_info_t *th) {
      pthread_attr_getstack may cause thread gtid aliasing */
   if (!KMP_UBER_GTID(gtid)) {
 
+#if !KMP_OS_SOLARIS
+    pthread_attr_t attr;
----------------
brad0 wrote:

Also there is a comment above this around line 427. It would probably be best to update that to just 'Set thread stack info.' and leave off the means of doing so now that there are multiple means of doing so.

https://github.com/llvm/llvm-project/pull/82930


More information about the Openmp-commits mailing list