[libcxx-commits] [PATCH] D87940: [SystemZ][ZOS] Porting the time functions within libc++ to z/OS

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Sep 27 11:18:17 PDT 2020


hubert.reinterpretcast added inline comments.


================
Comment at: libcxx/include/__threading_support:554
+   if (__micro_sec)
+      usleep(__micro_sec);
+#else
----------------
This is the loop I mentioned. It ensures we do sleep as long as requested but has the problem of not knowing how long we have already slept for.


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

https://reviews.llvm.org/D87940



More information about the libcxx-commits mailing list