[Openmp-commits] [PATCH] D87267: [OpenMP] Introduce GOMP mutexinoutset in the runtime

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Sep 12 07:44:25 PDT 2020


protze.joachim added inline comments.


================
Comment at: openmp/runtime/test/tasking/omp50_task_depend_mtx3.c:23-29
+#ifdef _WIN32
+#include <windows.h>
+#define mysleep(n) Sleep(n)
+#else
+#include <unistd.h>
+#define mysleep(n) usleep((n)*1000)
+#endif
----------------
We have similar functionality available in `llvm-project/openmp/runtime/test/omp_my_sleep.h`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87267



More information about the Openmp-commits mailing list