[libcxx-commits] [PATCH] D99373: [SystemZ][z/OS] correct rc and errno within nanosleep()

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 4 06:00:15 PDT 2021


curdeius added inline comments.


================
Comment at: libcxx/include/__support/ibm/nanosleep.h:45
+      // The usleep() does not provide the amount of remaining time upon its failure.
+      // Therefore, the remaining time will not reflect the actual mirco seconds slept.
+      __rem->tv_sec = 0;
----------------
Typo. But this comment sounds a bit awkward to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99373



More information about the libcxx-commits mailing list