[all-commits] [llvm/llvm-project] 5aafdd: [OpenMP] Introduce new file wrapper class for runtime
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Tue Dec 15 12:48:08 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5aafdd7b88f5bad06431f34103a771fe681f9213
https://github.com/llvm/llvm-project/commit/5aafdd7b88f5bad06431f34103a771fe681f9213
Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_stats.cpp
Log Message:
-----------
[OpenMP] Introduce new file wrapper class for runtime
Introduce new kmp_safe_raii_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.
Differential Revision: https://reviews.llvm.org/D92604
More information about the All-commits
mailing list