[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
Tue Nov 17 10:18:39 PST 2020
rogfer01 added a comment.
Hi Todd,
thanks for the prompt answer. We do have D90974 <https://reviews.llvm.org/D90974>.
I wonder if due to abnormal termination of the process some files might not have a chance to be removed? In that case I understand that the `0666` in `shm_open(..., O_CREAT, ...)` will still honour `umask` (commonly it is `0022` so the files are created with `rw-r--r--`). Was the intent of this change to create a `rw-rw-rw-` file instead? That would avoid the `EACCES`, in case another user hits the same file because it wasn't removed. Not sure if this is the intended behaviour here.
Kind regards,
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