[Openmp-commits] [PATCH] D89898: changing OMP rtl to use shared memory instead of env variable

Todd Erdner via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 21 10:49:32 PDT 2020


terdner created this revision.
terdner added reviewers: RaviNarayanaswamy, tlwilmar, hbae, AndreyChurbanov, jlpeyton.
terdner added a project: OpenMP.
Herald added a subscriber: mgorny.
terdner requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Per customer request, changing the unix environment variable in the kmp_registration_library. 
This change only affects UNIX and dynamic library
It will call shared memory to keep track of runtime info instead of the unix env variable which is not thread safe.

(Windows env variables using SetEnvironmentVariable/GetEnvironmentVariable  are thread safe).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89898

Files:
  openmp/runtime/cmake/LibompHandleFlags.cmake
  openmp/runtime/cmake/config-ix.cmake
  openmp/runtime/src/kmp_runtime.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89898.299745.patch
Type: text/x-patch
Size: 7390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201021/8c483163/attachment.bin>


More information about the Openmp-commits mailing list