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

Roger Ferrer Ibanez via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 18 07:44:22 PST 2020


rogfer01 added a comment.

> Random number won't work, because the goal of the library registering is to catch several libraries in a single process. So a process should have deterministic file name (or environment variable name).

Can we add the UID of the current process to the filename, so we do not attempt to open a shared file created by another user? This fails currently. I don't expect the UID to change during the execution of most OpenMP applications.

Also note that a single `abort()` (or a failing `assert` such one that could happen when running the OpenMP testsuite) will generate a leftover file.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89898



More information about the Openmp-commits mailing list