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

Rainer Orth via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 27 05:15:27 PST 2024


rorth wrote:

> I tried on an Illumos based distro (openinidiana), note that illumos supports [`pthread_attr_get_np`](https://illumos.org/man/3C/pthread_attr_get_np) but not solaris.

So you're adding a third variant when a simple conditional to distinguish between Solaris and Illumos would do?  And how will you handle some case where there's no common ground between the two?

The Illumos community finally needs to deal with Issue #53919: @MaskRay asked me to file it two years ago when running into Illumos/Solaris differences wrt. `dlpi_tls_modid` in `struct dl_phdr_info` and stop worrying about Illumos until they got this Issue resolved.  Two years later and not a thing has happened...



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


More information about the Openmp-commits mailing list