[Openmp-commits] [PATCH] D121060: [OpenMP][NFCI] Use RAII lock guards in libomptarget where possible

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 7 07:29:18 PST 2022


protze.joachim added inline comments.


================
Comment at: openmp/libomptarget/src/device.cpp:447
 
-  DataMapMtx.unlock();
   return Ret;
----------------
This unlock is gone without translating the lock to raii lock guard.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121060



More information about the Openmp-commits mailing list