[Openmp-commits] [PATCH] D92604: [OpenMP] Introduce new file wrapper class for runtime
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Dec 3 13:44:25 PST 2020
jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Introduce new `kmp_safe_file_t` class with RAII semantics for file open/close. It is essentially a wrapper around the C-style FILE* object. This also unifies the way we error report if a file can't be opened.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92604
Files:
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_lock.cpp
openmp/runtime/src/kmp_stats.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92604.309356.patch
Type: text/x-patch
Size: 6862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201203/73c73030/attachment.bin>
More information about the Openmp-commits
mailing list